Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
|
@@ -33,7 +33,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 33 |
libfribidi-dev \
|
| 34 |
&& rm -rf /var/lib/apt/lists/*
|
| 35 |
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
| 37 |
arch="$(uname -m)"; \
|
| 38 |
case "$arch" in \
|
| 39 |
x86_64) installer="Miniconda3-latest-Linux-x86_64.sh" ;; \
|
|
@@ -44,6 +47,8 @@ RUN set -eux; \
|
|
| 44 |
bash /tmp/miniconda.sh -b -p /opt/conda; \
|
| 45 |
rm -f /tmp/miniconda.sh; \
|
| 46 |
/opt/conda/bin/conda config --set always_yes yes --set changeps1 no; \
|
|
|
|
|
|
|
| 47 |
/opt/conda/bin/conda update -n base -c defaults conda
|
| 48 |
|
| 49 |
RUN R -q -e "install.packages(c('remotes','plumber','jsonlite','reticulate'), repos='https://cloud.r-project.org')"
|
|
|
|
| 33 |
libfribidi-dev \
|
| 34 |
&& rm -rf /var/lib/apt/lists/*
|
| 35 |
|
| 36 |
+
ARG DOCKERFILE_REV=2026-03-04-tos-fix-2
|
| 37 |
+
|
| 38 |
+
RUN echo "asa-api docker revision: ${DOCKERFILE_REV}"; \
|
| 39 |
+
set -eux; \
|
| 40 |
arch="$(uname -m)"; \
|
| 41 |
case "$arch" in \
|
| 42 |
x86_64) installer="Miniconda3-latest-Linux-x86_64.sh" ;; \
|
|
|
|
| 47 |
bash /tmp/miniconda.sh -b -p /opt/conda; \
|
| 48 |
rm -f /tmp/miniconda.sh; \
|
| 49 |
/opt/conda/bin/conda config --set always_yes yes --set changeps1 no; \
|
| 50 |
+
/opt/conda/bin/conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main; \
|
| 51 |
+
/opt/conda/bin/conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r; \
|
| 52 |
/opt/conda/bin/conda update -n base -c defaults conda
|
| 53 |
|
| 54 |
RUN R -q -e "install.packages(c('remotes','plumber','jsonlite','reticulate'), repos='https://cloud.r-project.org')"
|