We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dfbe95e + 8d9e7d7 commit 93d1104Copy full SHA for 93d1104
Dockerfile
@@ -30,11 +30,19 @@ RUN apt-get update && apt-get install -y \
30
automake \
31
autoconf \
32
libtool \
33
- protobuf-compiler \
34
libprotobuf-dev \
+ unzip \
35
--no-install-recommends && \
36
rm -rf /var/lib/apt/lists/*
37
38
+# 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"
40
+RUN cd /tmp && \
41
+ curl -sSL https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VER}/protoc-${PROTOC_VER}-linux-x86_64.zip -o protoc.zip && \
42
+ unzip protoc.zip && \
43
+ cp bin/protoc /usr/bin/protoc && \
44
+ rm -rf *
45
+
46
# Install rust using rustup
47
ARG CHANNEL
48
ENV RUSTUP_VER="1.26.0" \
0 commit comments