mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
Bumps library/node from `5e4044f` to `b98ec1c`. --- updated-dependencies: - dependency-name: library/node dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
25 lines
1.1 KiB
Docker
25 lines
1.1 KiB
Docker
FROM docker.io/library/node:22.3.0@sha256:b98ec1c96103fbe1a9e449b3854bbc0a0ed1c5936882ae0939d4c3a771265b4b as node
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
|
software-properties-common
|
|
|
|
#Chrome browser to run the tests
|
|
ARG CHROME_VERSION=86.0.4240.75
|
|
RUN curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add \
|
|
&& wget https://www.slimjet.com/chrome/download-chrome.php?file=files%2F$CHROME_VERSION%2Fgoogle-chrome-stable_current_amd64.deb \
|
|
&& dpkg -i download-chrome*.deb || true
|
|
|
|
RUN apt-get install --no-install-recommends -y -f \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
#Disable the SUID sandbox so that chrome can launch without being in a privileged container
|
|
RUN dpkg-divert --add --rename --divert /opt/google/chrome/google-chrome.real /opt/google/chrome/google-chrome \
|
|
&& echo "#! /bin/bash\nexec /opt/google/chrome/google-chrome.real --no-sandbox --disable-setuid-sandbox \"\$@\"" > /opt/google/chrome/google-chrome \
|
|
&& chmod 755 /opt/google/chrome/google-chrome
|
|
|
|
WORKDIR /usr/src/app
|
|
COPY package*.json ./
|
|
COPY yarn.lock ./
|
|
RUN yarn install && yarn cache clean
|
|
COPY . .
|
|
|