Skip to content

Commit

Permalink
ci: Build multi-image base
Browse files Browse the repository at this point in the history
  • Loading branch information
flemzord committed Jan 22, 2024
1 parent cfbbf60 commit c17ebb9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scratch.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
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
FROM ghcr.io/formancehq/base:scratch
COPY auth /usr/bin/auth
ENV OTEL_SERVICE_NAME auth
ENTRYPOINT ["/usr/bin/auth"]
Expand Down

0 comments on commit c17ebb9

Please sign in to comment.