Skip to content

Commit

Permalink
Use pak in final facilbio Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
lianos committed Sep 17, 2024
1 parent 4319c36 commit 33ad558
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions facilebio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,30 @@ LABEL maintainer="Steve Lianoglou ([email protected])"
# RUN pwd
# RUN dat

# RUN --mount=type=secret,id=GITHUB_PAT \
# GITHUB_PAT=$(cat /run/secrets/GITHUB_PAT) \
# Rscript -e "library(BiocManager); install(c(\
# 'facilebio/FacileData', \
# 'facilebio/FacileBiocData', \
# 'facilebio/FacileViz', \
# 'facilebio/FacileShine', \
# 'facilebio/FacileAnalysis', \
# 'facilebio/FacileAnalysisShine', \
# 'facilebio/FacileIncubator' \
# ))" \
# && rm -rf /tmp/downloaded_packages/ /tmp/*.rds

RUN --mount=type=secret,id=GITHUB_PAT \
GITHUB_PAT=$(cat /run/secrets/GITHUB_PAT) \
Rscript -e "library(BiocManager); install(c(\
Rscript -e "pak::pkg_install(c(\
'facilebio/FacileData', \
'facilebio/FacileBiocData', \
'facilebio/FacileViz', \
'facilebio/FacileShine', \
'facilebio/FacileAnalysis', \
'facilebio/FacileAnalysisShine', \
'facilebio/FacileIncubator' \
))" \
), upgrade = TRUE, ask = FALSE)" \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds

# Init command for s6-overlay
Expand Down

0 comments on commit 33ad558

Please sign in to comment.