Skip to content

Commit

Permalink
Fix certificates in Beyla container (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariomac authored Oct 31, 2023
1 parent 324c8d2 commit b35c74a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ ENV GOARCH=$TARGETARCH

WORKDIR /opt/app-root

RUN apt-get update
RUN apt-get install -qy ca-certificates

# Copy the go manifests and source
COPY .git/ .git/
COPY bpf/ bpf/
Expand All @@ -31,10 +34,14 @@ FROM debian:bookworm-slim
LABEL maintainer="Grafana Labs <hello@grafana.com>"

WORKDIR /

COPY --from=builder /opt/app-root/bin/beyla .
COPY --from=builder /opt/app-root/LICENSE .
COPY --from=builder /opt/app-root/NOTICE .
COPY --from=builder /opt/app-root/third_party_licenses.csv .

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

USER 0:0

CMD [ "/beyla" ]

0 comments on commit b35c74a

Please sign in to comment.