aboutsummaryrefslogtreecommitdiffstats
path: root/packages/testnet-faucets/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'packages/testnet-faucets/Dockerfile')
-rw-r--r--packages/testnet-faucets/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/testnet-faucets/Dockerfile b/packages/testnet-faucets/Dockerfile
index 346f461d8..bd1dcc4a4 100644
--- a/packages/testnet-faucets/Dockerfile
+++ b/packages/testnet-faucets/Dockerfile
@@ -2,7 +2,10 @@ FROM node
WORKDIR /src
+# Ledger Provider (in the Subproviders package) requires node-hid at dependency install time
+# which compiles and expects certain USB developer library packages to be present
RUN apt-get -qq update && apt-get install -y libhidapi-dev libusb-1.0-0-dev
+# Our fork of ledgerco disables requiring node-hid at run time if CIRCLECI is set to true
ENV CIRCLECI=true
COPY package.json .
RUN npm i