Skip to content

Commit

Permalink
Update Dockerfile to add protobuf
Browse files Browse the repository at this point in the history
It does not include nanopb, with assumption that it can be used in source code form.
  • Loading branch information
kwesolowski authored Feb 8, 2021
1 parent 649afb5 commit b6ec121
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ RUN set -x -e; \
rm -rf "${SOURCES_DIR}" ~/user-config.jam; \
rm -rf /var/lib/apt/lists/*

# Python packages
# Python packages + Protobuf support for CMake based code generations
RUN set -x -e; \
apt-get -y update; \
apt-get -y install --no-install-recommends python3-distutils; \
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 dataclasses Jinja2; \
pip3 install dataclasses Jinja2 protobuf; \
rm -rf get-pip.py /var/lib/apt/lists/*

COPY entrypoint.py /usr/local/bin/entrypoint
Expand Down

0 comments on commit b6ec121

Please sign in to comment.