From b8aaa5a7d780b4fa733fca757261c4ca2076e1e9 Mon Sep 17 00:00:00 2001 From: Ryo Takaishi Date: Sat, 7 Dec 2024 16:26:37 +0900 Subject: [PATCH] Update Yarn version in Dockerfile to 1.22.22 This commit updates the Yarn version from 1.22.19 to 1.22.22 across the Dockerfile. Ensuring the latest version of Yarn helps maintain compatibility and improves performance and security. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 71a9ffdd8..ec10bc9ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y shared-mime-info libmariadb3 RUN bundle install FROM public.ecr.aws/docker/library/ruby:3.3.6 AS asset-compile -ENV YARN_VERSION=1.22.19 +ENV YARN_VERSION=1.22.22 COPY --link --from=node /opt/yarn-v$YARN_VERSION /opt/yarn COPY --link --from=node /usr/local/bin/node /usr/local/bin/ RUN ln -s /opt/yarn/bin/yarn /usr/local/bin/yarn \ @@ -37,7 +37,7 @@ RUN --mount=type=cache,uid=1000,target=/app/tmp/cache SECRET_KEY_BASE=hoge RAILS FROM public.ecr.aws/docker/library/ruby:3.3.6-slim -ENV YARN_VERSION=1.22.19 +ENV YARN_VERSION=1.22.22 COPY --link --from=node /opt/yarn-v$YARN_VERSION /opt/yarn COPY --link --from=node /usr/local/bin/node /usr/local/bin/ RUN ln -s /opt/yarn/bin/yarn /usr/local/bin/yarn \