Skip to content

Commit

Permalink
install protoc manually
Browse files Browse the repository at this point in the history
  • Loading branch information
tiainen committed Nov 23, 2023
1 parent 1bfe679 commit ea3a23b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,14 @@ RUN apt-get install -y \
git \
gpg-agent \
libclang-dev \
make \
protobuf-compiler
make
USER libsignal

# install protoc
RUN curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protoc-25.1-linux-x86_64.zip
RUN unzip protoc-25.1-linux-x86_64.zip -d ~/.local
ENV PATH="/home/libsignal/.local/bin:${PATH}"

# Convert ssh to https for git dependency access without a key.
RUN git config --global url."https://github".insteadOf ssh://git@github

Expand Down

0 comments on commit ea3a23b

Please sign in to comment.