File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 tags : ghcr.io/${{ github.repository_owner }}/composefs-os:fedora-44-uki-sb
6060 cache-from : type=gha
6161 cache-to : type=gha,mode=max
62+
63+ - name : Build and push composefs-os:ubuntu-26.04 (GRUB)
64+ uses : docker/build-push-action@v6
65+ with :
66+ context : .
67+ file : Containerfile.ubuntu
68+ target : grub
69+ push : true
70+ tags : ghcr.io/${{ github.repository_owner }}/composefs-os:ubuntu-26.04
71+ cache-from : type=gha,scope=ubuntu
72+ cache-to : type=gha,mode=max,scope=ubuntu
73+
74+ - name : Build and push composefs-os:ubuntu-26.04-uki (systemd-boot + UKI)
75+ uses : docker/build-push-action@v6
76+ with :
77+ context : .
78+ file : Containerfile.ubuntu
79+ target : uki
80+ push : true
81+ tags : ghcr.io/${{ github.repository_owner }}/composefs-os:ubuntu-26.04-uki
82+ cache-from : type=gha,scope=ubuntu
83+ cache-to : type=gha,mode=max,scope=ubuntu
84+
85+ - name : Build and push composefs-os:ubuntu-26.04-uki-sb (systemd-boot + UKI + Secure Boot)
86+ uses : docker/build-push-action@v6
87+ with :
88+ context : .
89+ file : Containerfile.ubuntu
90+ target : uki-secureboot
91+ push : true
92+ tags : ghcr.io/${{ github.repository_owner }}/composefs-os:ubuntu-26.04-uki-sb
93+ cache-from : type=gha,scope=ubuntu
94+ cache-to : type=gha,mode=max,scope=ubuntu
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ RUN mkdir -p /usr/share/efi/EFI/ubuntu && \
7474FROM rootfs-base AS rootfs-uki
7575
7676RUN apt-get update && apt-get install -y --no-install-recommends \
77- systemd-boot-unsigned \
77+ systemd-boot-efi \
7878 systemd-ukify \
7979 && rm -rf /var/lib/apt/lists/*
8080
@@ -84,9 +84,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
8484FROM rootfs-base AS rootfs-uki-sb
8585
8686RUN apt-get update && apt-get install -y --no-install-recommends \
87- systemd-boot-unsigned \
87+ systemd-boot-efi \
8888 systemd-ukify \
89- sbsigntools \
89+ sbsigntool \
9090 openssl \
9191 && rm -rf /var/lib/apt/lists/*
9292
Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ See [DESIGN.md](DESIGN.md) for rationale and architecture.
2424| ` ghcr.io/henrywang/composefs-os:fedora-44 ` | GRUB (BLS Type 1) | Working |
2525| ` ghcr.io/henrywang/composefs-os:fedora-44-uki ` | systemd-boot + UKI (BLS Type 2) | Working |
2626| ` ghcr.io/henrywang/composefs-os:fedora-44-uki-sb ` | systemd-boot + UKI + Secure Boot | Working |
27- | Ubuntu 26.04 (build locally with ` Containerfile.ubuntu ` ) | GRUB, UKI, UKI + Secure Boot | Working |
27+ | ` ghcr.io/henrywang/composefs-os:ubuntu-26.04 ` | GRUB (BLS Type 1) | Working |
28+ | ` ghcr.io/henrywang/composefs-os:ubuntu-26.04-uki ` | systemd-boot + UKI (BLS Type 2) | Working |
29+ | ` ghcr.io/henrywang/composefs-os:ubuntu-26.04-uki-sb ` | systemd-boot + UKI + Secure Boot | Working |
2830| Arch Linux | — | Planned |
2931
3032
@@ -149,11 +151,14 @@ The published base images are a starting point. Add your own packages and
149151configuration in a derived ` Containerfile ` :
150152
151153``` dockerfile
154+ # Fedora
152155FROM ghcr.io/henrywang/composefs-os:fedora-44
153-
154- # Add packages
155156RUN dnf install -y vim htop && dnf clean all
156157
158+ # Ubuntu
159+ FROM ghcr.io/henrywang/composefs-os:ubuntu-26.04
160+ RUN apt-get install -y vim htop && apt-get clean
161+
157162# Use COPY (not RUN echo) for /etc/hostname: buildah bind-mounts a synthetic
158163# /etc/hostname into every RUN container, so writes via RUN are silently lost.
159164COPY <<EOF /etc/hostname
You can’t perform that action at this time.
0 commit comments