File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/).
1010### Changed
1111
1212- Add ` required: false ` to ` depends_on ` in ` docker-compose.yml ` (requires Docker Compose v2.20.2+)
13+ - Update Node and Yarn install strategy to remove install script deprecation warning
1314
1415#### Languages and services
1516
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ ARG GID=1000
88
99RUN bash -c "set -o pipefail && apt-get update \
1010 && apt-get install -y --no-install-recommends build-essential curl git libpq-dev \
11- && curl -sSL https://deb.nodesource.com/setup_20.x | bash - \
12- && curl -sSL https://dl.yarnpkg .com/debian/pubkey.gpg | apt-key add - \
13- && echo 'deb https://dl.yarnpkg.com/debian/ stable main' | tee /etc/apt/sources.list.d/yarn.list \
14- && apt-get update && apt-get install -y --no-install-recommends nodejs yarn \
11+ && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key -o /etc/apt/keyrings/nodesource.asc \
12+ && echo 'deb [signed-by=/etc/apt/keyrings/nodesource.asc] https://deb.nodesource .com/node_20.x nodistro main' | tee /etc/apt/sources.list.d/nodesource.list \
13+ && apt-get update && apt-get install -y --no-install-recommends nodejs \
14+ && corepack enable \
1515 && rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/man \
1616 && apt-get clean \
1717 && groupadd -g \" ${GID}\" ruby \
You can’t perform that action at this time.
0 commit comments