diff --git a/rollupcreator/Dockerfile b/rollupcreator/Dockerfile index 17b065a9..508beae0 100644 --- a/rollupcreator/Dockerfile +++ b/rollupcreator/Dockerfile @@ -4,7 +4,7 @@ RUN apt-get update && \ apt-get install -y git docker.io python3 build-essential curl jq WORKDIR /workspace RUN git clone --no-checkout https://github.com/OffchainLabs/nitro-contracts.git ./ -RUN git checkout ${NITRO_CONTRACTS_BRANCH} +RUN git fetch --all && git checkout ${NITRO_CONTRACTS_BRANCH} && git pull origin ${NITRO_CONTRACTS_BRANCH} RUN curl -L https://foundry.paradigm.xyz | bash ENV PATH="${PATH}:/root/.foundry/bin" RUN foundryup diff --git a/tokenbridge/Dockerfile b/tokenbridge/Dockerfile index 3d8cbacb..3517dd4c 100644 --- a/tokenbridge/Dockerfile +++ b/tokenbridge/Dockerfile @@ -4,7 +4,7 @@ RUN apt-get update && \ apt-get install -y git docker.io python3 build-essential WORKDIR /workspace RUN git clone --no-checkout https://github.com/OffchainLabs/token-bridge-contracts.git ./ -RUN git checkout ${TOKEN_BRIDGE_BRANCH} +RUN git fetch --all && git checkout ${TOKEN_BRIDGE_BRANCH} && git pull origin ${TOKEN_BRIDGE_BRANCH} RUN yarn install RUN yarn build ENTRYPOINT ["yarn"]