Cache chrome for correct debian version

This commit is contained in:
Andrejs Cunskis 2022-11-08 12:49:31 +00:00 committed by Balasankar 'Balu' C
parent 03d90d36f2
commit 7d00e776ae
7 changed files with 40 additions and 13 deletions

View file

@ -7,6 +7,7 @@ ARG CUSTOM_BASE_IMAGE
FROM ${CUSTOM_BASE_IMAGE}
ARG BUILD_OS
ARG OS_VERSION
# TARGETARCH is automatically populated by buildx --platform argument
ARG TARGETARCH
@ -35,7 +36,7 @@ RUN if [ -n "$GIT_VERSION" ]; then /scripts/install-git && git --version; fi
# Chrome
ARG CHROME_VERSION
RUN if [ -n "$CHROME_VERSION" ]; then /scripts/install-chrome "$CHROME_VERSION" && ( google-chrome --version || chromium --version ); fi
RUN if [ -n "$CHROME_VERSION" ]; then /scripts/install-chrome "$CHROME_VERSION"; fi
# NodeJS and Yarn
ARG NODE_INSTALL_VERSION