mirror of
https://github.com/trezor/trezor-wallet
synced 2025-03-20 18:16:10 +00:00
Added docker file for bridge and emualator
This commit is contained in:
parent
fb6522520a
commit
1babe70e38
20
test/docker/Dockerfile
Normal file
20
test/docker/Dockerfile
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user