From 45d722f8d138db3556212411bd387547b0119367 Mon Sep 17 00:00:00 2001 From: gzeon Date: Tue, 29 Oct 2024 05:14:44 +0900 Subject: [PATCH] perf: common docker layer --- rollupcreator/Dockerfile | 2 +- tokenbridge/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rollupcreator/Dockerfile b/rollupcreator/Dockerfile index f6406dad..622eafb6 100644 --- a/rollupcreator/Dockerfile +++ b/rollupcreator/Dockerfile @@ -1,7 +1,7 @@ FROM node:18-bullseye-slim -ARG NITRO_CONTRACTS_BRANCH=main RUN apt-get update && \ apt-get install -y git docker.io python3 build-essential curl jq +ARG NITRO_CONTRACTS_BRANCH=main WORKDIR /workspace RUN git clone --no-checkout https://github.com/OffchainLabs/nitro-contracts.git ./ RUN git checkout ${NITRO_CONTRACTS_BRANCH} diff --git a/tokenbridge/Dockerfile b/tokenbridge/Dockerfile index dac06fbb..38d417f1 100644 --- a/tokenbridge/Dockerfile +++ b/tokenbridge/Dockerfile @@ -1,7 +1,7 @@ FROM node:18-bullseye-slim -ARG TOKEN_BRIDGE_BRANCH=main RUN apt-get update && \ - apt-get install -y git docker.io python3 build-essential + apt-get install -y git docker.io python3 build-essential curl jq +ARG TOKEN_BRIDGE_BRANCH=main WORKDIR /workspace RUN git clone --no-checkout https://github.com/OffchainLabs/token-bridge-contracts.git ./ RUN git checkout ${TOKEN_BRIDGE_BRANCH}