Skip to content

Commit 2011d82

Browse files
committed
don't rely on scratch image
1 parent 0e909d4 commit 2011d82

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
FROM alpine:3.21 as certs
2-
RUN apk --update add ca-certificates
3-
4-
FROM scratch
1+
FROM golang:1.23.8
52

63
ARG USER_UID=10001
74
ARG USER_GID=10001
85
USER ${USER_UID}:${USER_GID}
96

10-
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
117
COPY --chmod=755 otelcol-ebpf-profiler /otelcol-ebpf-profiler
128
ENTRYPOINT ["/otelcol-ebpf-profiler"]

0 commit comments

Comments
 (0)