-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:12.0.0-stretch | ||
FROM node:17.3-bullseye-slim | ||
LABEL maintainer "Code Climate <[email protected]>" | ||
|
||
RUN adduser --uid 9000 --gecos "" --disabled-password app | ||
|
@@ -15,9 +15,10 @@ RUN mkdir $PREFIX | |
COPY bin/docs ./bin/docs | ||
COPY engine.json package.json yarn.lock ./ | ||
|
||
RUN apt-get update && apt-get install -y gnupg | ||
|
||
RUN apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg && \ | ||
echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \ | ||
apt-get update && \ | ||
apt-get install -y git jq yarn && \ | ||
yarn config set prefix $PREFIX && \ | ||
yarn install --modules-folder $PREFIX && \ | ||
|