mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-25 07:48:10 +00:00
16 lines
258 B
Docker
16 lines
258 B
Docker
|
FROM python:3.7.1-stretch
|
||
|
|
||
|
WORKDIR /trezor-emulator
|
||
|
|
||
|
COPY ./ /trezor-emulator
|
||
|
RUN make vendor
|
||
|
|
||
|
RUN apt-get update
|
||
|
RUN apt-get install libusb-1.0-0
|
||
|
|
||
|
RUN pip3 install scons trezor
|
||
|
RUN make build_unix_noui
|
||
|
|
||
|
ENTRYPOINT ["emulator/run.sh"]
|
||
|
EXPOSE 21324/udp 21325
|