Skip to content

Commit

Permalink
Use scratch to build Beyla images (#1367)
Browse files Browse the repository at this point in the history
  • Loading branch information
marctc authored Nov 18, 2024
1 parent 6efb792 commit e766187
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ COPY third_party_licenses.csv third_party_licenses.csv
RUN make compile

# Create final image from minimal + built binary
FROM debian:bookworm-slim
FROM scratch

LABEL maintainer="Grafana Labs <[email protected]>"

Expand All @@ -42,6 +42,4 @@ COPY --from=builder /opt/app-root/third_party_licenses.csv .

COPY --from=builder /etc/ssl/certs /etc/ssl/certs

USER 0:0

ENTRYPOINT [ "/beyla" ]

0 comments on commit e766187

Please sign in to comment.