From 6650bbabadaf995d0391a7b322bfb491de7e4208 Mon Sep 17 00:00:00 2001 From: Evaldo Felipe Date: Fri, 20 Jun 2025 12:57:14 -0300 Subject: [PATCH 1/2] Upgrade yarn version Signed-off-by: Evaldo Felipe --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5d0a08cd72..6276ca2a3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,9 @@ RUN yarn build WORKDIR /across-relayer # Clode the relayer code and copy it to the across-relayer directory. Remove the package directory. -RUN git clone https://github.com/across-protocol/relayer-v2.git . +# RUN git clone https://github.com/across-protocol/relayer-v2.git . +# Temporary test branch +RUN git clone -b fusmanii/yarn-upgrade-second-attempt https://github.com/across-protocol/relayer.git . # This command fix a concurrency issue when the package was not found. RUN npx -y only-allow npm From 0f911b453815093194689546504d8ca7e57511fd Mon Sep 17 00:00:00 2001 From: Faisal Usmani Date: Mon, 23 Jun 2025 22:24:34 -0400 Subject: [PATCH 2/2] Added corpack enable to Dockerfile Signed-off-by: Faisal Usmani --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 6276ca2a3f..681de8df63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,6 +34,7 @@ RUN git clone -b fusmanii/yarn-upgrade-second-attempt https://github.com/across- RUN npx -y only-allow npm # Install depdencies. +RUN corepack enable RUN yarn install --frozen-lockfile && yarn build # Set back the working directory to the protocol directory to default to that package.