Skip to content

Commit

Permalink
build(docker): #296 change pin date for R packages (#297)
Browse files Browse the repository at this point in the history
Use a more recent date for pinning R packages, which include `bookdown
>= 0.38`

Closes: #296

---------

Co-authored-by: CJ Yetman <[email protected]>
  • Loading branch information
AlexAxthelm and cjyetman authored Apr 22, 2024
1 parent 1f49478 commit 1e5c662
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-push-private.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
permissions:
contents: read
id-token: write
timeout-minutes: 15
timeout-minutes: 45
outputs:
full-image-name: ${{ steps.export-outputs.outputs.full-image-name }}
test-matrix: ${{ steps.prepare.outputs.test-matrix }}
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# https://rocker-project.org/images/versioned/r-ver.html
#
# sets CRAN repo to use Posit Package Manager to freeze R package versions to
# those available on 2023-10-30
# those available on 2024-03-05
# https://packagemanager.posit.co/client/#/repos/2/overview
# https://packagemanager.posit.co/cran/__linux__/jammy/2023-10-30
# https://packagemanager.posit.co/cran/__linux__/jammy/2024-03-05
#
# sets CTAN repo to freeze TeX package dependencies to those available on
# 2021-12-31
Expand All @@ -26,7 +26,7 @@ LABEL org.opencontainers.image.base.name=""
LABEL org.opencontainers.image.ref.name=""
LABEL org.opencontainers.image.authors=""

ARG CRAN_REPO="https://packagemanager.posit.co/cran/__linux__/jammy/2023-10-30"
ARG CRAN_REPO="https://packagemanager.posit.co/cran/__linux__/jammy/2024-03-05"
RUN echo "options(repos = c(CRAN = '$CRAN_REPO'))" >> "${R_HOME}/etc/Rprofile.site"

# set apt-get to noninteractive mode
Expand Down

0 comments on commit 1e5c662

Please sign in to comment.