Skip to content

Commit 75a53f5

Browse files
authored
Fix release dockerfile (#1960)
1 parent 5ded9b3 commit 75a53f5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dev/release/comet-rm/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ RUN export LC_ALL=C \
4848
libbz2-dev \
4949
zlib1g-dev
5050

51+
RUN apt install -y gcc-10 g++-10 cpp-10 unzip
52+
ENV CC="gcc-10"
53+
ENV CXX="g++-10"
54+
55+
RUN PB_REL="https://github.com/protocolbuffers/protobuf/releases" \
56+
&& curl -LO $PB_REL/download/v30.2/protoc-30.2-linux-x86_64.zip \
57+
&& unzip protoc-30.2-linux-x86_64.zip -d /root/.local
58+
ENV PATH="$PATH:/root/.local/bin"
5159

5260
# Install rust
5361
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

0 commit comments

Comments
 (0)