mirror of
https://github.com/trezor/trezor-wallet
synced 2025-03-13 15:16:04 +00:00
Fixed deps
This commit is contained in:
parent
578b284b24
commit
2243c7eb88
@ -21,7 +21,7 @@
|
||||
"test": "run-s test:*",
|
||||
"test:unit": "npx jest",
|
||||
"test-unit:watch": "npx jest -o --watch",
|
||||
"test:integration": "cypress run",
|
||||
"test-integration": "cypress run",
|
||||
"test-local": "cypress open",
|
||||
"server:beta": "node ./server/index.js --buildType=beta",
|
||||
"server:stable": "node ./server/index.js --buildType=stable"
|
||||
@ -35,6 +35,8 @@
|
||||
"connected-react-router": "^6.0.0",
|
||||
"copy-webpack-plugin": "^4.5.2",
|
||||
"cross-env": "^5.2.0",
|
||||
"cypress": "^3.1.4",
|
||||
"cypress-image-snapshot": "^3.0.0",
|
||||
"date-fns": "^1.29.0",
|
||||
"ethereumjs-tx": "^1.3.3",
|
||||
"ethereumjs-units": "^0.2.0",
|
||||
@ -94,8 +96,6 @@
|
||||
"babel-preset-env": "^1.6.0",
|
||||
"babel-preset-jest": "^23.2.0",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"cypress": "^3.1.4",
|
||||
"cypress-image-snapshot": "^3.0.0",
|
||||
"eslint": "^4",
|
||||
"eslint-config-airbnb": "^17.0.0",
|
||||
"eslint-import-resolver-babel-module": "^4.0.0",
|
||||
|
@ -1,26 +1 @@
|
||||
FROM debian:stretch
|
||||
|
||||
# setup
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y wget dpkg systemd
|
||||
|
||||
# install and run bridge
|
||||
RUN mkdir /trezor-bridge
|
||||
WORKDIR /trezor-bridge
|
||||
RUN wget https://wallet.trezor.io/data/bridge/2.0.25/trezor-bridge_2.0.25_amd64.deb
|
||||
RUN dpkg -i /trezor-bridge/trezor-bridge_2.0.25_amd64.deb
|
||||
|
||||
# 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
|
||||
|
||||
# run
|
||||
ENTRYPOINT ["./docker/emulator/run.sh"]
|
||||
EXPOSE 21324/udp 21325
|
||||
FROM node:9
|
10
test/docker/docker-compose.yml
Normal file
10
test/docker/docker-compose.yml
Normal file
@ -0,0 +1,10 @@
|
||||
version: '3'
|
||||
services:
|
||||
trezor-wallet-tests:
|
||||
depends_on:
|
||||
- trezor-emulator
|
||||
- trezor-bridge
|
||||
trezor-emulator:
|
||||
image: registry.corp.sldev.cz/trezor/trezor-core/trezor-emulator
|
||||
trezor-bridge:
|
||||
image: registry.corp.sldev.cz/trezor/trezord-go/trezor-bridge
|
Loading…
Reference in New Issue
Block a user