Skip to content

Commit

Permalink
feat: Add new Docker Image (scratch) (#1101)
Browse files Browse the repository at this point in the history
  • Loading branch information
flemzord authored Jan 11, 2024
1 parent 1f986e4 commit 3fda546
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scratch.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM alpine:latest as certs
RUN apk --update add ca-certificates

FROM scratch
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY auth /usr/bin/auth
ENV OTEL_SERVICE_NAME auth
ENTRYPOINT ["/usr/bin/auth"]
CMD ["serve"]

0 comments on commit 3fda546

Please sign in to comment.