diff --git a/test/docker/Dockerfile b/test/docker/Dockerfile new file mode 100644 index 00000000..4b8b73fb --- /dev/null +++ b/test/docker/Dockerfile @@ -0,0 +1,20 @@ +FROM debian:stretch + +RUN apt-get update + +# install and run bridge +RUN apt-get install https://wallet.trezor.io/data/bridge/2.0.25/trezor-bridge-2.0.25.pkg + +# build amd run emulator +RUN mkdir /trezor-core +WORKDIR /trezor-core + +RUN git clone https://github.com/trezor/trezor-core +RUN git submodule update --init --recursive + +RUN apt-get install libusb-1.0-0 +RUN pip3 install scons trezor +RUN make build_unix_noui + +ENTRYPOINT ["./docker/emulator/run.sh"] +EXPOSE 21324/udp 21325 \ No newline at end of file