Skip to content

Commit

Permalink
QUA-461: update base image (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
dantevvp authored Jan 10, 2022
1 parent 0b4641d commit c653d7e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:6.17.0-stretch
FROM node:17.3-bullseye-slim
LABEL maintainer "Code Climate <[email protected]>"

RUN adduser --uid 9000 --gecos "" --disabled-password app
Expand All @@ -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 && \
Expand Down

0 comments on commit c653d7e

Please sign in to comment.