Skip to content

Commit

Permalink
Added reshape2 to docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
royfrancis committed Oct 25, 2024
1 parent 47523e9 commit 243163a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apt-get update -y \
&& apt-get install -y ./google-chrome-stable_current_amd64.deb \
&& rm -rf google-chrome-stable_current_amd64.deb \
&& rm -rf /var/lib/apt/lists/* \
&& Rscript -e 'install.packages(c("formattable","formatR","kableExtra","leaflet","pagedown","markdown", "reshape2"),repos = "https://packagemanager.posit.co/cran/__linux__/jammy/latest");' \
&& Rscript -e 'install.packages(c("formattable","formatR","kableExtra","leaflet","pagedown","markdown"),repos = "https://packagemanager.posit.co/cran/__linux__/jammy/latest");' \
&& mkdir /rmd

# add pkgs needed for labs
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ To add new packages, you need to update `Dockerfile`, rebuild the container, tes

```
# build container and add tags
docker build --platform=linux/amd64 -t ghcr.io/nbisweden/workshop-r:1.1.1 .
docker tag ghcr.io/nbisweden/workshop-r:1.1.1 ghcr.io/nbisweden/workshop-r:latest
docker build --platform=linux/amd64 -t ghcr.io/nbisweden/workshop-r:1.1.2 .
docker tag ghcr.io/nbisweden/workshop-r:1.1.2 ghcr.io/nbisweden/workshop-r:latest
# push to ghcr
docker login ghcr.io
docker push ghcr.io/nbisweden/workshop-r:1.1.1
docker push ghcr.io/nbisweden/workshop-r:1.1.2
docker push ghcr.io/nbisweden/workshop-r:latest
```

Expand Down

0 comments on commit 243163a

Please sign in to comment.