mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Cache chrome for correct debian version
This commit is contained in:
parent
03d90d36f2
commit
7d00e776ae
7 changed files with 40 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue