Skip to content

Commit

Permalink
Add NETWORK to env
Browse files Browse the repository at this point in the history
  • Loading branch information
dappnodedev committed Jul 10, 2024
1 parent 1fe2089 commit d5b6356
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/web3signer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ ARG WEB3SIGNER_VERSION

FROM consensys/web3signer:$WEB3SIGNER_VERSION

ARG NETWORK
ARG STAKER_SCRIPTS_VERSION

USER root
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/

Expand Down

0 comments on commit d5b6356

Please sign in to comment.