Skip to content

Commit

Permalink
Update Dockerfile to add protobuf (#22)
Browse files Browse the repository at this point in the history
Update Dockerfile to add protobuf
  • Loading branch information
dkulacz authored Feb 9, 2021
1 parent 78203c9 commit 777e511
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,11 @@ RUN apt-get -y update && \
ninja-build \
python2 \
&& rm -rf /var/lib/apt/lists/*

# Protobuf support
RUN apt-get -y update && \
apt-get -y install --no-install-recommends python3-distutils protobuf-compiler && \
wget -q https://bootstrap.pypa.io/get-pip.py && \
python3 get-pip.py && \
pip3 install protobuf && \
rm -rf get-pip.py /var/lib/apt/lists/*

0 comments on commit 777e511

Please sign in to comment.