2018-02-18 23:41:34 +00:00
|
|
|
# initialize from the image
|
|
|
|
|
|
|
|
FROM debian:9
|
|
|
|
|
|
|
|
# install build tools and dependencies
|
|
|
|
|
|
|
|
RUN dpkg --add-architecture i386 && \
|
|
|
|
apt-get update && \
|
|
|
|
apt-get install -y \
|
2018-02-19 01:31:41 +00:00
|
|
|
build-essential curl unzip git python3 python3-pip \
|
2018-02-19 00:03:40 +00:00
|
|
|
libsdl2-dev:i386 libsdl2-image-dev:i386 gcc-multilib
|
2018-02-18 23:41:34 +00:00
|
|
|
|
|
|
|
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 pip3 install "protobuf==${PROTOBUF_VERSION}" ecdsa
|
|
|
|
|
|
|
|
RUN ln -s python3 /usr/bin/python
|