Skip to content

Commit 7a837c7

Browse files
authored
Merge pull request #133 from aws/conda_update
Update Miniconda and conda versions
2 parents 980f6d2 + cd0738b commit 7a837c7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docker/1.0-1/base/Dockerfile.cpu

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ ARG UBUNTU_IMAGE_DIGEST=98706f0f213dbd440021993a82d2f70451a73698315370ae8615cc46
33

44
FROM ubuntu:${UBUNTU_VERSION}@sha256:${UBUNTU_IMAGE_DIGEST}
55

6-
ARG MINICONDA_VERSION=4.11.0
6+
ARG MINICONDA_VERSION=4.12.0
7+
ARG CONDA_CHECKSUM=3190da6626f86eee8abf1b2fd7a5af492994eb2667357ee4243975cdbb175d7a
78
ARG CONDA_PY_VERSION=38
8-
ARG CONDA_PKG_VERSION=4.9.0
9+
ARG CONDA_PKG_VERSION=4.13.0
910
ARG PYTHON_VERSION=3.8.13
1011
ARG PYARROW_VERSION=1.0.0
1112
ARG MLIO_VERSION=0.7.0
@@ -61,8 +62,11 @@ RUN apt-get update && \
6162

6263
RUN cd /tmp && \
6364
curl -L --output /tmp/Miniconda3.sh https://repo.anaconda.com/miniconda/Miniconda3-py${CONDA_PY_VERSION}_${MINICONDA_VERSION}-Linux-x86_64.sh && \
65+
echo "${CONDA_CHECKSUM} /tmp/Miniconda3.sh" | sha256sum -c - && \
6466
bash /tmp/Miniconda3.sh -bfp /miniconda3 && \
65-
rm /tmp/Miniconda3.sh
67+
rm /tmp/Miniconda3.sh && \
68+
# Remove this when we move to Miniconda version with conda package version 4.13.0+
69+
rm -rf /miniconda3/pkgs/conda-4.12.0-py38h06a4308_0/info/test/*
6670

6771
ENV PATH=/miniconda3/bin:${PATH}
6872

0 commit comments

Comments
 (0)