mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
1f377bd9f6
Emulator is a 64-bit application now, so we should install 64-bit version of libSDL. Rename docker image and emulator filename to indicate 64-bitness as well.
18 lines
539 B
Docker
18 lines
539 B
Docker
# 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"
|
|
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
|