Skip to content

Commit 5f62561

Browse files
authored
Merge pull request #705 from mamba-org/apptainer-script
Resume copying `_apptainer_shell.sh` into images
2 parents c0f93d2 + d0ffc08 commit 5f62561

File tree

8 files changed

+35
-23
lines changed

8 files changed

+35
-23
lines changed

.github/workflows/push_latest.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
LATEST_UBUNTU_BASE_IMAGE: 'ubuntu:25.10'
2020
LATEST_AMAZON_BASE_IMAGE: 'public.ecr.aws/amazonlinux/amazonlinux:2023'
2121
LATEST_ALPINE_BASE_IMAGE: 'frolvlad/alpine-glibc:alpine-3.22'
22-
LATEST_CUDA_BASE_IMAGE: 'nvidia/cuda:13.1.0-base-ubuntu24.04'
22+
LATEST_CUDA_BASE_IMAGE: 'nvidia/cuda:13.2.0-base-ubuntu24.04'
2323

2424
jobs:
2525
build_docker_image_and_push:
@@ -40,8 +40,8 @@ jobs:
4040
- frolvlad/alpine-glibc:alpine-3.22
4141
- frolvlad/alpine-glibc:alpine-3.21
4242
- public.ecr.aws/amazonlinux/amazonlinux:2023
43-
- nvidia/cuda:13.1.0-base-ubuntu24.04
44-
- nvidia/cuda:13.1.0-base-ubuntu22.04
43+
- nvidia/cuda:13.2.0-base-ubuntu24.04
44+
- nvidia/cuda:13.2.0-base-ubuntu22.04
4545
- nvidia/cuda:12.9.1-base-ubuntu24.04
4646
- nvidia/cuda:12.9.1-base-ubuntu22.04
4747
- nvidia/cuda:12.8.1-base-ubuntu24.04
@@ -64,7 +64,7 @@ jobs:
6464
- name: Setup nox
6565
uses: wntrblm/nox@0eee2e45758dbd06d48ebb23476439f0f00e5cbd
6666
- name: Checkout source
67-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
67+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
6868
with:
6969
persist-credentials: false
7070
submodules: recursive
@@ -178,12 +178,12 @@ jobs:
178178
- name: Setup docker buildx
179179
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
180180
- name: Login to DockerHub
181-
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef
181+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
182182
with:
183183
username: ${{ secrets.DOCKERHUB_USERNAME }}
184184
password: ${{ secrets.DOCKERHUB_TOKEN }}
185185
- name: Login to GHCR
186-
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef
186+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
187187
with:
188188
registry: ghcr.io
189189
username: ${{ github.repository_owner }}
@@ -251,7 +251,7 @@ jobs:
251251
runs-on: ubuntu-24.04
252252
steps:
253253
- name: Checkout source
254-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
254+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
255255
with:
256256
persist-credentials: false
257257
- name: Get artifacts
@@ -307,7 +307,7 @@ jobs:
307307
contents: write
308308
steps:
309309
- name: Checkout source
310-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
310+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
311311
with:
312312
persist-credentials: false
313313
- name: Get micromamba version number

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-24.04
2020
steps:
2121
- name: Checkout source
22-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2323
with:
2424
submodules: recursive
2525
persist-credentials: false
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-24.04
3636
steps:
3737
- name: Checkout source
38-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
38+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
3939
with:
4040
persist-credentials: false
4141
- name: Install curl and xz-utils
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: ubuntu-24.04
5050
steps:
5151
- name: Checkout source
52-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
52+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
5353
with:
5454
persist-credentials: false
5555
- name: Setup nox
@@ -61,7 +61,7 @@ jobs:
6161
runs-on: ubuntu-24.04
6262
steps:
6363
- name: Checkout source
64-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
64+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
6565
with:
6666
persist-credentials: false
6767
- name: Setup nox
@@ -73,7 +73,7 @@ jobs:
7373
runs-on: ubuntu-24.04
7474
steps:
7575
- name: Checkout source
76-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
76+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
7777
with:
7878
persist-credentials: false
7979
- name: Setup nox
@@ -85,7 +85,7 @@ jobs:
8585
runs-on: ubuntu-24.04
8686
steps:
8787
- name: Checkout source
88-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
88+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
8989
with:
9090
persist-credentials: false
9191
- name: Setup nox
@@ -97,7 +97,7 @@ jobs:
9797
runs-on: ubuntu-24.04
9898
steps:
9999
- name: Checkout source
100-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
100+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
101101
with:
102102
persist-credentials: false
103103
- name: Setup nox
@@ -109,7 +109,7 @@ jobs:
109109
runs-on: ubuntu-24.04
110110
steps:
111111
- name: Checkout source
112-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
112+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
113113
with:
114114
persist-credentials: false
115115
- name: Setup nox

.github/workflows/update_version.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
runs-on: ubuntu-24.04
1919
steps:
2020
- name: Checkout source
21-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2222
with:
2323
persist-credentials: false
2424
- name: Set up Python
25-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
25+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
2626
with:
2727
python-version: "3.10"
2828
- name: Check available versions
@@ -41,7 +41,7 @@ jobs:
4141
run: ./update.sh "${LATEST_VERSION}"
4242
- name: commit updated files
4343
if: steps.check_version.outputs.do_pr == 'True'
44-
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725
44+
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0
4545
with:
4646
branch: "update-${{ steps.check_version.outputs.latest_version }}"
4747
commit-message: "Update to micromamba version ${{ steps.check_version.outputs.latest_version }}"

.github/workflows/zizmor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
security-events: write
1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2222
with:
2323
persist-credentials: false
2424

25-
- uses: hynek/setup-cached-uv@ae460f75dcef535482cb6754a8ca5ad6aac63ce7
25+
- uses: hynek/setup-cached-uv@547e6a40c3f94f7d2973b2abde9ccb9b5325ac06
2626

2727
- name: Run zizmor 🌈
2828
run: uvx zizmor --format sarif . > results.sarif

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
This change log covers changes to the docker image and does not include
44
[changes to the micromamba program](https://github.com/mamba-org/mamba/blob/main/CHANGELOG.md).
55

6-
## 12 January 2026
6+
## 21 March 2026
77

8-
- Updated to micromamba version 2.5.0
8+
- Resume copying `_apptainer_shell.sh` into images
9+
- Update CUDA v13.1.0 images to CUDA v13.2.0
910

1011
## 12 January 2026
1112

13+
- Updated to micromamba version 2.5.0
1214
- No longer clobber `$HOME` values passed via
1315
`docker run -e HOME ...` (for `$HOME` values other than `/`).
1416

alpine.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ USER $MAMBA_USER
4242

4343
WORKDIR /tmp
4444

45+
# for use with 'apptainer shell --shell /usr/local/bin/_apptainer_shell.sh ...'
46+
COPY _apptainer_shell.sh /usr/local/bin/_apptainer_shell.sh
47+
4548
# Script which launches commands passed to "docker run"
4649
COPY _entrypoint.sh /usr/local/bin/_entrypoint.sh
4750
COPY _activate_current_env.sh /usr/local/bin/_activate_current_env.sh

debian.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ USER $MAMBA_USER
4040

4141
WORKDIR /tmp
4242

43+
# for use with 'apptainer shell --shell /usr/local/bin/_apptainer_shell.sh ...'
44+
COPY _apptainer_shell.sh /usr/local/bin/_apptainer_shell.sh
45+
4346
# Script which launches commands passed to "docker run"
4447
COPY _entrypoint.sh /usr/local/bin/_entrypoint.sh
4548
COPY _activate_current_env.sh /usr/local/bin/_activate_current_env.sh

fedora.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ COPY --from=stage1 "${MAMBA_EXE}" "${MAMBA_EXE}"
3030
COPY _dockerfile_initialize_user_accounts.sh /usr/local/bin/_dockerfile_initialize_user_accounts.sh
3131
COPY _dockerfile_setup_root_prefix.sh /usr/local/bin/_dockerfile_setup_root_prefix.sh
3232

33+
# hadolint ignore=DL3033
3334
RUN yum update -y && yum install -y \
3435
shadow-utils \
3536
&& yum clean all \
@@ -40,6 +41,9 @@ USER $MAMBA_USER
4041

4142
WORKDIR /tmp
4243

44+
# for use with 'apptainer shell --shell /usr/local/bin/_apptainer_shell.sh ...'
45+
COPY _apptainer_shell.sh /usr/local/bin/_apptainer_shell.sh
46+
4347
# Script which launches commands passed to "docker run"
4448
COPY _entrypoint.sh /usr/local/bin/_entrypoint.sh
4549
COPY _activate_current_env.sh /usr/local/bin/_activate_current_env.sh

0 commit comments

Comments
 (0)