mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Use regular OS when using slim container image
This commit is contained in:
parent
1907e97f9f
commit
e0189351ac
1 changed files with 8 additions and 0 deletions
|
|
@ -74,6 +74,14 @@ function build_ubi() {
|
|||
|
||||
BUILD_OS=${BUILD_OS:-debian}
|
||||
OS_VERSION=${OS_VERSION:-bullseye}
|
||||
|
||||
# When using a -slim version, actually use the non-slim OS version.
|
||||
#
|
||||
# See https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/729#note_1564796274
|
||||
if [[ $OS_VERSION =~ .+-slim ]]; then
|
||||
OS_VERSION=${OS_VERSION%%-slim}
|
||||
fi
|
||||
|
||||
CHROME_VERSION=${1:-111.0.5563.64-1}
|
||||
CHROMIUM_VERSION=${2:-$CHROME_VERSION}
|
||||
ARCH=${TARGETARCH:-amd64}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue