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
7 changes: 5 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
ARG BUILDKIT_VERSION=v0.28.0
ARG BUILDKIT_DIGEST=sha256:37539dd4d60fc70968d164d3850d903a2c56f6402214a1953fbf9fcb81ada731
ARG CNI_VERSION=v1.9.0
ARG ALPINE_RELEASE=3.23
ARG ALPINE_DIGEST=sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659

# Prepare dependencies
FROM alpine:$ALPINE_RELEASE AS deps
FROM alpine:${ALPINE_RELEASE}@${ALPINE_DIGEST} AS deps
ARG CNI_VERSION
RUN apk add --no-cache curl gettext && \
mkdir -p /opt/cni/bin && \
Expand All @@ -11,7 +14,7 @@ RUN apk add --no-cache curl gettext && \
| tar -C /opt/cni/bin -xz ./bridge ./host-local ./loopback

# Final image
FROM moby/buildkit:${BUILDKIT_VERSION}
FROM moby/buildkit:${BUILDKIT_VERSION}@${BUILDKIT_DIGEST}

LABEL org.opencontainers.image.title="buildcage" \
org.opencontainers.image.description="Secure Docker build environment with network access control" \
Expand Down
2 changes: 1 addition & 1 deletion test/Dockerfile.audit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:latest
FROM alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659

# DNS check
RUN echo "=== DNS Configuration ===" && \
Expand Down
2 changes: 1 addition & 1 deletion test/Dockerfile.restrict
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:latest
FROM alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659

# DNS check
RUN echo "=== DNS Configuration ===" && \
Expand Down
2 changes: 1 addition & 1 deletion test/test-dns/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:latest
FROM alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659

RUN apk add --no-cache dnsmasq

Expand Down
2 changes: 1 addition & 1 deletion test/test-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nginx:alpine
FROM nginx:stable-alpine3.23-slim@sha256:b33eedfdf089be1f83759ced27b4deec5b6f1b6fc2a6819ebce0ae351a4406e5

RUN apk add --no-cache openssl

Expand Down
Loading