Skip to content

Commit

Permalink
PR feedback: Use apt instead of apt-get
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveTryon committed Jun 24, 2023
1 parent 1170874 commit 0198d60
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ USER root
#
# We pin nodejs 16.x instead of accepting Playwright's default for consistency with
# our other build environments.
RUN apt-get update && \
apt-get install ca-certificates && \
apt-get update && \
apt-get install -y curl && \
RUN apt update && \
apt install ca-certificates && \
apt update && \
apt install -y curl && \
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y --allow-downgrades nodejs=16.* && \
apt install -y --allow-downgrades nodejs=16.* && \
rm -rf /var/lib/apt/lists/*

WORKDIR /app
Expand Down

0 comments on commit 0198d60

Please sign in to comment.