Skip to content

Commit

Permalink
build(docker): #57 inherit settings from base image
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAxthelm committed Feb 26, 2024
1 parent b760e53 commit cac36ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# https://packagemanager.rstudio.com/cran/__linux__/jammy/2023-03-31+MbiAEzHt

FROM ghcr.io/rmi-pacta/workflow.transition.monitor:main
ARG CRAN_REPO="https://packagemanager.posit.co/cran/__linux__/jammy/2023-10-30"
RUN echo "options(repos = c(CRAN = '$CRAN_REPO'))" >> "${R_HOME}/etc/Rprofile.site"
# inherit CRAN REPO and R options from base image

# Install R dependencies
COPY DESCRIPTION /workflow.prepare.pacta.indices/DESCRIPTION
Expand Down

0 comments on commit cac36ee

Please sign in to comment.