Skip to content

Commit 594494c

Browse files
committed
fix: backfill Dockerfile
1 parent 57190a9 commit 594494c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

backfill_corrections/Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,13 @@ ENV LD_LIBRARY_PATH $GUROBI_HOME/lib
1515
RUN ln -s -f /usr/share/zoneinfo/America/New_York /etc/localtime
1616

1717
RUN apt-get update && apt-get install -qq -y \
18-
libudunits2-dev \
19-
libgdal-dev \
20-
libgeos-dev \
21-
libproj-dev \
22-
libglpk-dev \
18+
apt-file \
2319
python3-venv \
2420
python3-dev \
2521
python3-pip
2622

27-
RUN R -e 'install.packages(c("pak", "rspm"))'
23+
RUN R -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
24+
RUN R -e 'install.packages(c("rspm"))'
2825
RUN --mount=type=secret,id=GITHUB_TOKEN \
2926
export GITHUB_PAT="$(cat /run/secrets/GITHUB_TOKEN)" && \
3027
R -e 'rspm::enable(); pak::pkg_install(c("roxygen2", "Rglpk", "argparser", "gfkse/[email protected]", "cmu-delphi/covidcast/R-packages/evalcast@evalcast", "ryantibs/quantgen/quantgen"))'

0 commit comments

Comments
 (0)