Skip to content

Commit

Permalink
Dont use libcurl in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bschilder committed Nov 17, 2023
1 parent 2780ad8 commit 4a4a612
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ runs:
- name: ℹ️ Get R package info
if: runner.os == 'Linux'
run: |
#### DockerHub repos must be lowercase (,,) ####
#### DockerHub repos must be lowercase (,,) ####
name=$(grep '^Package:' DESCRIPTION | cut -d\ -f2)
echo "packageName=${name,,}" >> $GITHUB_ENV
echo "packageNameOrig=${name}" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion inst/templates/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN Rscript -e 'if(!require("remotes")) install.packages("remotes"); \
RUN sysreqs=$(Rscript -e 'rworkflows::dependencies_linux()') \
sudo -s eval "$sysreqs"
#### --Step 5--:Install package dependencies ####
RUN Rscript -e 'options(download.file.method="libcurl", crayon.enabled=TRUE, timeout={TIMEOUT}); \
RUN Rscript -e 'options(crayon.enabled=TRUE, timeout={TIMEOUT}); \
if(!require("BiocManager",quietly=TRUE)) install.packages("BiocManager"); \
repos <- BiocManager::repositories(); \
remotes::install_local(repos=repos, dependencies=TRUE, build_vignettes=FALSE, upgrade=TRUE, force=TRUE);'
Expand Down

0 comments on commit 4a4a612

Please sign in to comment.