Skip to content

Commit

Permalink
fix: Dockerfile_dev_fips to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Nov 8, 2024
1 parent 485b151 commit 7dae5ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile_dev_fips
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM alpine:3.17.1 as otelcol
FROM alpine:3.17.10 as otelcol
COPY otelcol-sumo /
# This shouldn't be necessary but sometimes we end up with execution bit not set.
# ref: https://github.com/open-telemetry/opentelemetry-collector/issues/1317
RUN chmod 755 /otelcol-sumo

FROM alpine:3.17.1 as certs
FROM alpine:3.17.10 as certs
RUN apk --update add ca-certificates

FROM alpine:3.17.1 as directories
FROM alpine:3.17.10 as directories
RUN mkdir /etc/otel/

FROM debian:11.6 as systemd
Expand All @@ -16,7 +16,7 @@ RUN apt update && apt install -y systemd
# h stands for dereference of symbolic links
RUN tar czhf journalctl.tar.gz /bin/journalctl $(ldd /bin/journalctl | grep -oP "\/.*? ")

FROM alpine:3.17.1
FROM alpine:3.17.10
RUN apk update && apk add curl tar
RUN curl -LJ "https://go-boringcrypto.storage.googleapis.com/go1.18.7b7.linux-amd64.tar.gz" -o go.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf go.linux-amd64.tar.gz \
Expand Down

0 comments on commit 7dae5ba

Please sign in to comment.