diff --git a/.devcontainer/portability-alpine/Dockerfile b/.devcontainer/portability-alpine/Dockerfile new file mode 100644 index 00000000000..53a3966d8e3 --- /dev/null +++ b/.devcontainer/portability-alpine/Dockerfile @@ -0,0 +1,2 @@ +FROM ghcr.io/linuxcontainers/alpine:3.22 +RUN apk add --no-cache git python3 bash curl diff --git a/.devcontainer/portability-alpine/devcontainer.json b/.devcontainer/portability-alpine/devcontainer.json new file mode 100644 index 00000000000..aaf2cbe64e1 --- /dev/null +++ b/.devcontainer/portability-alpine/devcontainer.json @@ -0,0 +1,23 @@ +// See https://aka.ms/devcontainer.json for format details. +{ + "name": "alpine", + //"image": "ghcr.io/linuxcontainers/alpine", + "dockerFile": "Dockerfile", + "onCreateCommand": ".devcontainer/onCreate-meson.sh || true", + "features": { + "ghcr.io/devcontainers/features/git": {}, + // Python feature is not compatible with Alpine, so we install it manually in the Dockerfile + // "ghcr.io/devcontainers/features/python:1": {}, + "ghcr.io/devcontainers/features/common-utils:2": {}, + "../uv": { + "version": "latest" + } + }, + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python" + ] + } + } +} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 328041781a0..a82964870c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: fail-fast: false matrix: container: + - alpine:3.22 - fedora:41 - fedora:42 - ghcr.io/void-linux/void-glibc-full @@ -44,6 +45,9 @@ jobs: # but we need the maxima help to be in place sed -i '/^NoExtract/d' /etc/pacman.conf fi + if [[ "${{ matrix.container }}" == alpine* ]]; then + apk add --no-cache bash + fi - name: Checkout code # cannot use v4 yet because of https://github.com/actions/checkout/issues/1487