Skip to content

Commit

Permalink
feat: add the chisel manifest to images
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdcordeiro committed Nov 1, 2024
1 parent 3f0bc8c commit 6440c8e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion dotnet-aspnet/Dockerfile.22.04
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG UBUNTU_RELEASE=22.04
ARG USER=app UID=101 GROUP=app GID=101
ARG CHISEL_VERSION=0.10.0
ARG CHISEL_VERSION=1.0.0

FROM ubuntu.azurecr.io/ubuntu:$UBUNTU_RELEASE@sha256:1582c29f34a48752e406f1a261fe9545fad895da3f6bb4be55bc82485557564e AS builder
ARG USER UID GROUP GID TARGETARCH UBUNTU_RELEASE CHISEL_VERSION
Expand All @@ -26,6 +26,7 @@ RUN chisel-wrapper --generate-dpkg-status /status -- --release "ubuntu-$UBUNTU_R
base-files_release-info \
ca-certificates_data \
aspnetcore-runtime-6.0_libs \
base-files_chisel \
&& mkdir -p /rootfs/usr/bin \
&& ln -s /usr/lib/dotnet/dotnet /rootfs/usr/bin/

Expand Down
5 changes: 3 additions & 2 deletions dotnet-deps/Dockerfile.22.04
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG UBUNTU_RELEASE=22.04
ARG USER=app UID=101 GROUP=app GID=101
ARG CHISEL_VERSION=0.10.0
ARG CHISEL_VERSION=1.0.0

FROM ubuntu.azurecr.io/ubuntu:$UBUNTU_RELEASE@sha256:1582c29f34a48752e406f1a261fe9545fad895da3f6bb4be55bc82485557564e AS builder
ARG USER UID GROUP GID TARGETARCH UBUNTU_RELEASE CHISEL_VERSION
Expand Down Expand Up @@ -28,7 +28,8 @@ RUN chisel-wrapper --generate-dpkg-status /status -- --release "ubuntu-$UBUNTU_R
libgcc-s1_libs \
libssl3_libs \
libstdc++6_libs \
zlib1g_libs
zlib1g_libs \
base-files_chisel

FROM scratch AS sbom-prep
COPY --from=builder /rootfs /
Expand Down
3 changes: 2 additions & 1 deletion dotnet-runtime/Dockerfile.22.04
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG UBUNTU_RELEASE=22.04
ARG USER=app UID=101 GROUP=app GID=101
ARG CHISEL_VERSION=0.10.0
ARG CHISEL_VERSION=1.0.0

FROM ubuntu.azurecr.io/ubuntu:$UBUNTU_RELEASE@sha256:1582c29f34a48752e406f1a261fe9545fad895da3f6bb4be55bc82485557564e AS builder
ARG USER UID GROUP GID TARGETARCH UBUNTU_RELEASE CHISEL_VERSION
Expand All @@ -25,6 +25,7 @@ RUN chisel-wrapper --generate-dpkg-status /status -- --release "ubuntu-$UBUNTU_R
base-files_release-info \
ca-certificates_data \
dotnet-runtime-6.0_libs \
base-files_chisel
&& mkdir -p /rootfs/usr/bin \
&& ln -s /usr/lib/dotnet/dotnet /rootfs/usr/bin/

Expand Down

0 comments on commit 6440c8e

Please sign in to comment.