diff --git a/services/web3signer/Dockerfile b/services/web3signer/Dockerfile index 896adac..21e4d0c 100644 --- a/services/web3signer/Dockerfile +++ b/services/web3signer/Dockerfile @@ -2,6 +2,7 @@ ARG WEB3SIGNER_VERSION FROM consensys/web3signer:$WEB3SIGNER_VERSION +ARG NETWORK ARG STAKER_SCRIPTS_VERSION USER root @@ -9,7 +10,8 @@ RUN apt-get update && apt-get install ca-certificates --yes COPY entrypoint.sh /usr/local/bin/entrypoint.sh -ENV STAKER_SCRIPTS_URL=https://github.com/dappnode/staker-package-scripts/releases/download/${STAKER_SCRIPTS_VERSION} +ENV NETWORK=${NETWORK} \ + STAKER_SCRIPTS_URL=https://github.com/dappnode/staker-package-scripts/releases/download/${STAKER_SCRIPTS_VERSION} ADD ${STAKER_SCRIPTS_URL}/common_tools.sh /etc/profile.d/