Skip to content

Commit

Permalink
add sha signature to dockerfile (#7543)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinForReal authored Nov 12, 2024
1 parent cddf3dd commit 6fa9f33
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ COPY . .
RUN --mount=type=cache,target=/root/.cache/go-build \
make bin/azure-cloud-controller-manager ENABLE_GIT_COMMAND=${ENABLE_GIT_COMMAND} ARCH=${ARCH}

FROM gcr.io/distroless/base
FROM gcr.io/distroless/base:latest@sha256:71667b504b57a3aa13b1a61d9ba4147aeed27bb024b9ae1833970fae9f5ed34e
COPY --from=builder /go/src/sigs.k8s.io/cloud-provider-azure/bin/azure-cloud-controller-manager /usr/local/bin/cloud-controller-manager
ENTRYPOINT [ "/usr/local/bin/cloud-controller-manager" ]
2 changes: 1 addition & 1 deletion cloud-node-manager.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN make bin/azure-cloud-node-manager ENABLE_GIT_COMMAND=${ENABLE_GIT_COMMAND} A

# Use distroless base image for a lean production container.
# Start a new build stage.
FROM gcr.io/distroless/base
FROM gcr.io/distroless/base:latest@sha256:71667b504b57a3aa13b1a61d9ba4147aeed27bb024b9ae1833970fae9f5ed34e

# Create a group and user
USER 65532:65532
Expand Down
2 changes: 1 addition & 1 deletion health-probe-proxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@

# syntax=docker/dockerfile:1

FROM gcr.io/distroless/base
FROM gcr.io/distroless/base:latest@sha256:71667b504b57a3aa13b1a61d9ba4147aeed27bb024b9ae1833970fae9f5ed34e
COPY bin/health-probe-proxy /usr/local/bin/health-probe-proxy
ENTRYPOINT [ "/usr/local/bin/health-probe-proxy" ]

0 comments on commit 6fa9f33

Please sign in to comment.