1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-02 02:41:28 +00:00

build: remove unnecessary Dockerfile.emulator

This commit is contained in:
Pavol Rusnak 2018-10-12 14:03:23 +02:00
parent 9730471a73
commit 555a650eb8
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -1,25 +0,0 @@
# initialize from the image
FROM debian:9
# install build tools and dependencies
RUN apt-get update && \
apt-get install -y \
build-essential curl unzip git python3 python3-pip \
libsdl2-dev libsdl2-image-dev
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"
ENV PYTHON=python3
# use zipfile module to extract files world-readable
RUN $PYTHON -m zipfile -e "protoc-${PROTOBUF_VERSION}-linux-x86_64.zip" /usr/local && chmod 755 /usr/local/bin/protoc
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV WORKON_HOME=/tmp/.venvs
RUN $PYTHON -m pip install "protobuf==${PROTOBUF_VERSION}" ecdsa click trezor mako munch