initial commit for public eval
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
FROM rocker/tidyverse:4.4.1
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
make \
|
||||
curl \
|
||||
ca-certificates \
|
||||
texlive-latex-base \
|
||||
texlive-latex-recommended \
|
||||
texlive-fonts-recommended \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV RENV_CONFIG_REPOS_OVERRIDE=https://packagemanager.posit.co/cran/__linux__/jammy/latest \
|
||||
RENV_CONFIG_AUTOLOADER_ENABLED=FALSE
|
||||
|
||||
COPY figures/renv.lock /tmp/figures/renv.lock
|
||||
RUN R -e 'install.packages("renv"); setwd("/tmp/figures"); renv::restore(prompt = FALSE)' && rm -rf /tmp/figures
|
||||
|
||||
ADD https://astral.sh/uv/install.sh /uv-installer.sh
|
||||
RUN sh /uv-installer.sh && rm /uv-installer.sh
|
||||
|
||||
ENV UV_PROJECT_ENVIRONMENT=/opt/venv \
|
||||
PATH=/opt/venv/bin:/root/.local/bin:$PATH
|
||||
|
||||
COPY analysis/pyproject.toml analysis/uv.lock /tmp/analysis/
|
||||
RUN cd /tmp/analysis && uv sync --frozen --no-install-project && rm -rf /tmp/analysis
|
||||
|
||||
WORKDIR /work/eval
|
||||
Reference in New Issue
Block a user