@@ -50,18 +50,18 @@ RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \
5050
5151RUN which node && node -v
5252
53- # Add Yarn package repository, update package list, & install Yarn
54- RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null \
55- && echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list \
56- && apt-get update -qq \
57- && apt-get install -y --no-install-recommends yarn
53+ # # Add Yarn package repository, update package list, & install Yarn
54+ # RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null \
55+ # && echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list \
56+ # && apt-get update -qq \
57+ # && apt-get install -y --no-install-recommends yarn
5858
59- # RUN corepack enable \
60- # && corepack prepare yarn@1.22.22 --activate \
61- # && yarn -v
59+ RUN corepack enable \
60+ && corepack prepare yarn@stable --activate \
61+ && yarn -v
6262
6363# Verify Node.js and Yarn are installed
64- RUN which yarn && yarn --version
64+ # RUN which yarn && yarn --version
6565
6666# Remove packages we only needed as part of the Node.js / Yarn repository
6767# setup and installation -- note that the Node.js setup scripts installs
@@ -71,20 +71,19 @@ RUN which yarn && yarn --version
7171# curl \
7272# python3
7373
74- RUN apt-mark manual nodejs python3.13-minimal
75-
76- RUN apt-get autoremove --purge -y
74+ RUN apt-mark manual python3.13-minimal \
75+ && apt-get autoremove --purge -y curl
7776
7877# RUN apt-cache rdepends nodejs
7978
80- RUN apt-get remove -y curl
79+ # RUN apt-get remove -y curl
8180
82- RUN echo '!!!!!!'
83- # RUN which node && node -v
84- RUN which yarn && yarn --version
81+ # RUN echo '!!!!!!'
82+ # # RUN which node && node -v
83+ # RUN which yarn && yarn --version
8584RUN apt-mark showmanual
8685RUN apt-mark showauto
87- RUN echo '^^^^^'
86+ # RUN echo '^^^^^'
8887
8988
9089# ------------------------------------------------------------
0 commit comments