1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 20:38:10 +00:00

build: use recent protobuf in docker

This commit is contained in:
Pavol Rusnak 2017-10-29 21:50:38 +01:00
parent d006ef6bf7
commit 6edb97133b
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -5,5 +5,10 @@ FROM debian:9
# install build tools and dependencies
RUN apt-get update && apt-get install -y \
build-essential git python python-ecdsa gcc-arm-none-eabi \
protobuf-compiler libprotobuf-dev python-protobuf
build-essential git python python-ecdsa gcc-arm-none-eabi curl
RUN apt-get install -y unzip python-pip
ENV PROTOBUF_VERSION=3.4.0
RUN curl -LO "https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protoc-${PROTOBUF_VERSION}-linux-x86_64.zip"
RUN unzip "protoc-${PROTOBUF_VERSION}-linux-x86_64.zip" -d /usr
RUN pip2 install "protobuf==${PROTOBUF_VERSION}"