diff --git a/protobuf/Dockerfile b/protobuf/Dockerfile index 91f972b2..99e64a9f 100644 --- a/protobuf/Dockerfile +++ b/protobuf/Dockerfile @@ -15,7 +15,7 @@ ARG UPX_VERSION=4.0.2 ARG TARGETARCH=amd64 -FROM alpine:3.18 as protoc_builder +FROM alpine:3.20 as protoc_builder RUN apk add --no-cache build-base curl automake autoconf libtool git zlib-dev linux-headers cmake ninja RUN mkdir -p /out @@ -130,7 +130,7 @@ RUN mkdir -p ${GOPATH}/src/github.com/atoulme/protoc-gen-parquet && \ mkdir -p /out/usr/include/protoc-gen-parquet/options && \ install -D $(find ./parquet_options -name '*.proto') -t /out/usr/include/protoc-gen-parquet/options -FROM alpine:3.18 as packer +FROM alpine:3.20 as packer RUN apk add --no-cache curl ARG UPX_VERSION @@ -156,7 +156,7 @@ RUN upx --lzma $(find /out/usr/bin/ \ RUN find /out -name "*.a" -delete -or -name "*.la" -delete -FROM alpine:3.18 +FROM alpine:3.20 LABEL maintainer="The OpenTelemetry Authors" COPY --from=packer /out/ / RUN apk add --no-cache bash libstdc++ && \