Skip to content

Commit

Permalink
including a private repo
Browse files Browse the repository at this point in the history
  • Loading branch information
falkmielke committed Jan 30, 2025
1 parent 9ef1673 commit b4d4346
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/private_repo/a_private_repo/
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,9 @@ docker rmi $(docker images -q)
podman rmi $(podman images -q) -f
```

# Notes

- httr <- libcurl4-openssl-dev libssl-dev
- xml2 <- libxml2
- units <- libudunits2-dev
- sf <- a whole lot of stuff, incl. units
14 changes: 14 additions & 0 deletions private_repo/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# this is just for TESTING
# you can attempt to replace `eigentoolbox` by any local git folder

# build upon the r-base image
FROM docker.io/r-base

# copy the repo folder
COPY a_private_repo /opt/a_private_repo

# make sure all dependencies are installed
RUN R -q -e 'install.packages(c("dplyr", "assertthat"))'

# install from local folder
RUN R -q -e 'install.packages("/opt/a_private_repo/", repos = NULL, type = "source")'

0 comments on commit b4d4346

Please sign in to comment.