Dockerfile 323 B

123456789101112131415
  1. FROM alpine:latest as prep
  2. RUN apk --update add ca-certificates
  3. RUN mkdir -p /tmp
  4. FROM scratch
  5. ARG USER_UID=10001
  6. USER ${USER_UID}
  7. COPY --from=prep /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
  8. COPY obcol /
  9. EXPOSE 4317 55680 55679
  10. ENTRYPOINT ["/obcol"]
  11. CMD ["--config", "/etc/otel/config.yaml"]