Skip to content

Commit 8d9e7d7

Browse files
committed
add env for protoc_ver
1 parent c994a5f commit 8d9e7d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ RUN apt-get update && apt-get install -y \
3636
rm -rf /var/lib/apt/lists/*
3737

3838
# Install a more recent release of protoc (protobuf-compiler in jammy is 4 years old and misses some features)
39+
ENV PROTOC_VER="25.2"
3940
RUN cd /tmp && \
4041
curl -sSL https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VER}/protoc-${PROTOC_VER}-linux-x86_64.zip -o protoc.zip && \
4142
unzip protoc.zip && \

0 commit comments

Comments
 (0)