Skip to content

Commit

Permalink
libpng for aarch and use pak to install deepplp
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax committed Jul 31, 2024
1 parent db5e75e commit 14a0ce4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN apt-get -y update && apt-get install -y \
libdeflate-dev \
libpcre2-dev \
libcurl4-openssl-dev \
ligpng-dev \
--no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
Expand Down Expand Up @@ -58,7 +59,7 @@ RUN pip3 install uv \
pynvml \
&& rm -rf /root/.cache/pip

RUN Rscript -e "ref <- Sys.getenv('GIT_COMMIT_ID_ABBREV', unset = Sys.getenv('GIT_BRANCH')); remotes::install_github('ohdsi/DeepPatientLevelPrediction', ref=ref)"
RUN Rscript -e "ref <- Sys.getenv('GIT_COMMIT_ID_ABBREV', unset = Sys.getenv('GIT_BRANCH')); pak::pkg_install(paste0('ohdsi/DeepPatientLevelPrediction@', ref))"


FROM docker.io/rocker/rstudio:4.4.1
Expand All @@ -82,6 +83,7 @@ RUN apt-get -y update && apt-get install -y \
libdeflate0 \
libpcre2-8-0 \
libcurl4 \
libpng16-16 \
--no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
Expand Down

0 comments on commit 14a0ce4

Please sign in to comment.