Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,11 @@ jobs:
contents: write

strategy:
fail-fast: false
matrix:
distro:
- focal
- jammy
- noble
arch:
- name: x86_64
os: ubuntu-24.04
Expand All @@ -106,6 +107,8 @@ jobs:
with:
command: binary-builder
dry-run: ${{github.ref != 'refs/heads/main'}}
# noble only gets new releases
config: ${{ matrix.distro == 'noble' && 'builder.noble.json' || 'builder.json' }}
token: ${{ secrets.GITHUB_TOKEN }}

success:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#--------------------------------------
# Ubuntu flavor
#--------------------------------------
ARG DISTRO=focal
ARG DISTRO=jammy

#--------------------------------------
# base images
#--------------------------------------
FROM ghcr.io/containerbase/ubuntu:20.04@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214 AS build-focal
FROM ghcr.io/containerbase/ubuntu:22.04@sha256:b000e69a50ff940390233025e7a337fb8469b509e2334fa4d018ac30f3e18cdb AS build-jammy
FROM ghcr.io/containerbase/ubuntu:24.04@sha256:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852 AS build-noble


#--------------------------------------
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CI runs jactionlint and zizmor through mise in the `lint` job, and the commit ho
Build the image

```bash
docker build -t builder --build-arg APT_PROXY=http://apt-proxy:3142 --build-arg DISTRO=focal .
docker build -t builder --build-arg APT_PROXY=http://apt-proxy:3142 --build-arg DISTRO=jammy .
```

Test the image
Expand All @@ -36,6 +36,8 @@ Optional environment variables

| Name | Description | Default |
| ----------- | ------------------------------------------------------------ | --------- |
| `DISTRO` | Set an ubuntu base distro, `focal` and `jammy` are supported | `focal` |
| `DISTRO` | Set an ubuntu base distro, `jammy` and `noble` are supported | `jammy` |
| `APT_PROXY` | Set an APT http proxy for installing build deps | `<empty>` |
| `DEBUG` | Show verbose php build output | `<empty>` |

Ubuntu 24.04 (`noble`) only gets versions released since it was added.
9 changes: 9 additions & 0 deletions builder.noble.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"image": "python",
"depName": "python",
"datasource": "docker",
"versioning": "docker",
"startVersion": "3.15.2",
"ignoredVersions": [],
"reverse": true
}
Loading