Skip to content

Commit

Permalink
feat: Layered devtools image
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Jul 18, 2024
1 parent 66da93a commit 7583e32
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,41 @@ jobs:
run: |
set -x
MANIFEST="ghcr.io/ultramarine-linux/ultramarine"
RELEASE="39"
RELEASE="40"
ls -lR
buildah manifest create $MANIFEST
buildah manifest add $MANIFEST oci-archive:base-base-docker-x86_64-docker/katsu.tar.xz --arch amd64
buildah manifest add $MANIFEST oci-archive:base-base-docker-aarch64-docker/katsu.tar.xz --arch arm64
# also tag as latest
buildah tag $MANIFEST $MANIFEST:latest || :
buildah manifest push --all --format v2s2 $MANIFEST docker://$MANIFEST:$RELEASE
docker-layer:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
dockerfile:
- dockerfiles/devtools.dockerfile

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Build images
uses: docker/build-push-action@v6
with:
context: .
file: ${{ matrix.dockerfile }}
platforms: linux/amd64,linux/arm64
push: false
tags: |
ghcr.io/ultramarine-linux/ultramarine-devtools:40
ghcr.io/ultramarine-linux/ultramarine-devtools:latest
args: |
RELEASE=40

#### LIVE ISO ####
5 changes: 5 additions & 0 deletions dockerfiles/devtools.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ARG RELEASE

FROM ghcr.io/ultramarine-linux/ultramarine:${RELEASE}

RUN dnf install -y @development-tools

0 comments on commit 7583e32

Please sign in to comment.