mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 02:52:56 +01:00
Update to Debian bullseye
bullseye is the latest stable, and this is what we will be using for Cloud Native GitLab going forward so we should test with this. Since an upgrade of the operating system may break pre-compiled C extensions, we now introduce a DEBIAN environment flag that defaults to the legacy buster install but allows us to roll out a bullseye image with `debian-bullseye` as the image name prefix.
This commit is contained in:
parent
cc18fe8b5b
commit
9d6dd5061a
10 changed files with 50 additions and 15 deletions
|
|
@ -54,8 +54,9 @@ RUN if [ -n "$LFS_VERSION" ]; then /scripts/install-lfs && git lfs --version; fi
|
|||
|
||||
# Postgres
|
||||
ARG POSTGRES_VERSION
|
||||
ARG DEBIAN_VERSION
|
||||
|
||||
RUN if [ -n "$POSTGRES_VERSION" ] ; then /scripts/install-postgresql $POSTGRES_VERSION; fi
|
||||
RUN if [ -n "$POSTGRES_VERSION" ] ; then /scripts/install-postgresql $POSTGRES_VERSION $DEBIAN_VERSION; fi
|
||||
|
||||
# GraphicsMagick
|
||||
ARG GRAPHISMAGICK_VERSION
|
||||
|
|
@ -66,8 +67,9 @@ RUN if [ -n "$GRAPHISMAGICK_VERSION" ]; then /scripts/install-graphicsmagick &&
|
|||
|
||||
# Docker
|
||||
ARG DOCKER_VERSION
|
||||
ARG DEBIAN_VERSION
|
||||
|
||||
RUN if [ -n "$DOCKER_VERSION" ]; then /scripts/install-docker $DOCKER_VERSION; fi
|
||||
RUN if [ -n "$DOCKER_VERSION" ]; then /scripts/install-docker $DOCKER_VERSION $DEBIAN_VERSION; fi
|
||||
|
||||
# PgBouncer
|
||||
ARG PGBOUNCER_VERSION
|
||||
|
|
@ -98,4 +100,5 @@ ENV RUBY_VERSION=${RUBY_VERSION} \
|
|||
GRAPHISMAGICK_VERSION=${GRAPHISMAGICK_VERSION} \
|
||||
DOCKER_VERSION=${DOCKER_VERSION} \
|
||||
PGBOUNCER_VERSION=${PGBOUNCER_VERSION} \
|
||||
BAZELISK_VERSION=${BAZELISK_VERSION}
|
||||
BAZELISK_VERSION=${BAZELISK_VERSION} \
|
||||
DEBIAN_VERSION=${DEBIAN_VERSION}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue