diff --git a/cmd/otelcontribcol/Dockerfile b/cmd/otelcontribcol/Dockerfile index 20ad2be6ab41..10b37eaf6e72 100644 --- a/cmd/otelcontribcol/Dockerfile +++ b/cmd/otelcontribcol/Dockerfile @@ -1,12 +1,11 @@ FROM alpine:latest as prep RUN apk --update add ca-certificates -ARG USER_UID=10001 - RUN mkdir -p /tmp FROM scratch +ARG USER_UID=10001 USER ${USER_UID} COPY --from=prep /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt