Skip to content

Commit

Permalink
Merge pull request #82 from mbargull/base-debian-12.5
Browse files Browse the repository at this point in the history
Base: Update to Debian 12.5
  • Loading branch information
mbargull authored Jun 2, 2024
2 parents e92e5c0 + dfb738f commit 55781f6
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 14 deletions.
36 changes: 30 additions & 6 deletions .github/workflows/base-glibc-busybox-bash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,47 @@ on:
jobs:
build:
name: Build & Push
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container:
# travier/podman-action contains newer podman/buildah versions.
image: quay.io/travier/podman-action
options: --privileged
env:
# The base image is not intended to change often and should be used with
# version tags or checksum IDs, but not via "latest".
MAJOR_VERSION: 3
MINOR_VERSION: 0
MINOR_VERSION: 1
IMAGE_NAME: base-glibc-busybox-bash
BUSYBOX_VERSION: '1.36.1'
DEBIAN_VERSION: '12.2'
DEBIAN_VERSION: '12.5'

steps:
- uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
run: |
podman run --rm --privileged \
docker.io/tonistiigi/binfmt --install arm64
- name: Install Tools
run: |
set -eu
# jq is not installed in travier/podman-action
dnf install -qy \
jq
rpm -q \
buildah podman \
coreutils findutils sed \
curl jq \
| (
while read -r line ; do
printf %s\\n "${line}"
case "${line}" in (*' not installed'*)
err=1 ;;
esac
done
exit "${err-0}"
)
- name: Build
id: build
Expand Down
36 changes: 30 additions & 6 deletions .github/workflows/base-glibc-debian-bash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,46 @@ on:
jobs:
build:
name: Build & Push
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container:
# travier/podman-action contains newer podman/buildah versions.
image: quay.io/travier/podman-action
options: --privileged
env:
# The base image is not intended to change often and should be used with
# version tags or checksum IDs, but not via "latest".
MAJOR_VERSION: 3
MINOR_VERSION: 0
MINOR_VERSION: 1
IMAGE_NAME: base-glibc-debian-bash
DEBIAN_VERSION: '12.2'
DEBIAN_VERSION: '12.5'

steps:
- uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
run: |
podman run --rm --privileged \
docker.io/tonistiigi/binfmt --install arm64
- name: Install Tools
run: |
set -eu
# jq is not installed in travier/podman-action
dnf install -qy \
jq
rpm -q \
buildah podman \
coreutils findutils sed \
curl jq \
| (
while read -r line ; do
printf %s\\n "${line}"
case "${line}" in (*' not installed'*)
err=1 ;;
esac
done
exit "${err-0}"
)
- name: Build
id: build
Expand Down
2 changes: 1 addition & 1 deletion images/base-glibc-busybox-bash/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ RUN arch=$(uname -m) \
&& \
sh ./Miniforge3-Linux-${arch}.sh -bp /opt/conda \
&& \
/opt/conda/bin/conda info --all
/opt/conda/bin/conda info --verbose
2 changes: 1 addition & 1 deletion images/base-glibc-debian-bash/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ RUN apt-get update -qq \
&& \
sh ./Miniforge3-Linux-${arch}.sh -bp /opt/conda \
&& \
/opt/conda/bin/conda info --all
/opt/conda/bin/conda info --verbose

0 comments on commit 55781f6

Please sign in to comment.