Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
Signed-off-by: gitworkflows <[email protected]>
  • Loading branch information
gitworkflows and qodo-merge-pro[bot] authored Oct 15, 2024
1 parent b2f54af commit f6b0453
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
# BUILDPLATFORM is an automatic platform ARG enabled by Docker BuildKit.
# Represents the platform where the build is happening, do not mix with
# TARGETARCH
FROM docker.io/library/alpine:3.20.3
FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d AS builder
RUN apk add --no-cache curl iputils bind-tools tcpdump

FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d
COPY --from=builder /usr/bin/curl /usr/bin/curl
COPY --from=builder /usr/bin/ping /usr/bin/ping
COPY --from=builder /usr/bin/dig /usr/bin/dig
COPY --from=builder /usr/sbin/tcpdump /usr/sbin/tcpdump
ENTRYPOINT ["/usr/bin/curl"]

0 comments on commit f6b0453

Please sign in to comment.