Skip to content

Commit

Permalink
arg scope change
Browse files Browse the repository at this point in the history
  • Loading branch information
arsen3d committed Jun 11, 2024
1 parent ba175d0 commit 9432e5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/chain/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
ARG expose_via=local
ARG arch=amd64
ARG cloudflare_token_http="not-a-token"
ARG cloudflare_token_ws="not-a-token"

FROM docker:24.0.5-dind AS base
ARG admin_address="0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
Expand Down Expand Up @@ -59,6 +57,9 @@ RUN echo "npx hardhat run scripts/fund-services-tokens.ts --network devnet " >>
RUN echo "npx hardhat run scripts/print-l2-config.ts --network devnet" >> run

FROM base AS expose-cloudflare
ARG cloudflare_token_http="not-a-token"
ARG cloudflare_token_ws="not-a-token"

RUN wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64
RUN echo "cd .." >> run
RUN echo "./cloudflared-linux-amd64 tunnel run --token $cloudflare_token_http &" >> run
Expand Down

0 comments on commit 9432e5e

Please sign in to comment.