Skip to content

Commit

Permalink
Update to miniconda3-py310_22.11.1-1 (#336)
Browse files Browse the repository at this point in the history
* Release miniconda3 Debian + Alpine via same tag

* Update to miniconda3-py310_22.11.1-1

* Install with bash
  • Loading branch information
dbast authored Dec 23, 2022
1 parent 488b480 commit e50c632
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/miniconda_alpine_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- master
tags:
- 'miniconda3-v*.*.*-alpine'
- 'miniconda3-v*.*.*'
paths:
- 'miniconda3/alpine/Dockerfile'
- '.github/workflows/miniconda_alpine_ci.yml'
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
tags: |
type=ref,event=branch,suffix=-alpine
type=ref,event=pr,suffix=-alpine
type=match,pattern=miniconda3-v(.*)-alpine,group=1,suffix=-alpine
type=match,pattern=miniconda3-v(.*),group=1,suffix=-alpine
flavor: |
latest=false
Expand Down
4 changes: 2 additions & 2 deletions miniconda3/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ LABEL maintainer="Anaconda, Inc"
ENV PATH /opt/conda/bin:$PATH

# Leave these args here to better use the Docker build cache
ARG CONDA_VERSION=py39_4.10.3
ARG SHA256SUM=1ea2f885b4dbc3098662845560bc64271eb17085387a70c2ba3f29fff6f8d52f
ARG CONDA_VERSION=py310_22.11.1-1
ARG SHA256SUM=00938c3534750a0e4069499baf8f4e6dc1c2e471c86a59caa0dd03f4a9269db6

# hadolint ignore=DL3018
RUN apk add -q --no-cache bash procps && \
Expand Down
12 changes: 6 additions & 6 deletions miniconda3/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,28 @@ ENV PATH /opt/conda/bin:$PATH
CMD [ "/bin/bash" ]

# Leave these args here to better use the Docker build cache
ARG CONDA_VERSION=py39_4.12.0
ARG CONDA_VERSION=py310_22.11.1-1

RUN set -x && \
UNAME_M="$(uname -m)" && \
if [ "${UNAME_M}" = "x86_64" ]; then \
MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-${CONDA_VERSION}-Linux-x86_64.sh"; \
SHA256SUM="78f39f9bae971ec1ae7969f0516017f2413f17796670f7040725dd83fcff5689"; \
SHA256SUM="00938c3534750a0e4069499baf8f4e6dc1c2e471c86a59caa0dd03f4a9269db6"; \
elif [ "${UNAME_M}" = "s390x" ]; then \
MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-${CONDA_VERSION}-Linux-s390x.sh"; \
SHA256SUM="ff6fdad3068ab5b15939c6f422ac329fa005d56ee0876c985e22e622d930e424"; \
SHA256SUM="a150511e7fd19d07b770f278fb5dd2df4bc24a8f55f06d6274774f209a36c766"; \
elif [ "${UNAME_M}" = "aarch64" ]; then \
MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-${CONDA_VERSION}-Linux-aarch64.sh"; \
SHA256SUM="5f4f865812101fdc747cea5b820806f678bb50fe0a61f19dc8aa369c52c4e513"; \
SHA256SUM="48a96df9ff56f7421b6dd7f9f71d548023847ba918c3826059918c08326c2017"; \
elif [ "${UNAME_M}" = "ppc64le" ]; then \
MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-${CONDA_VERSION}-Linux-ppc64le.sh"; \
SHA256SUM="1fe3305d0ccc9e55b336b051ae12d82f33af408af4b560625674fa7ad915102b"; \
SHA256SUM="4c86c3383bb27b44f7059336c3a46c34922df42824577b93eadecefbf7423836"; \
fi && \
wget "${MINICONDA_URL}" -O miniconda.sh -q && \
echo "${SHA256SUM} miniconda.sh" > shasum && \
if [ "${CONDA_VERSION}" != "latest" ]; then sha256sum --check --status shasum; fi && \
mkdir -p /opt && \
sh miniconda.sh -b -p /opt/conda && \
bash miniconda.sh -b -p /opt/conda && \
rm miniconda.sh shasum && \
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
Expand Down

0 comments on commit e50c632

Please sign in to comment.