Automatically detect debian version

This commit is contained in:
Andrejs Cunskis 2022-05-17 14:29:04 +03:00
parent 1f350b34f9
commit 1ef6c55491
No known key found for this signature in database
GPG key ID: 87CB75083F227241
4 changed files with 8 additions and 9 deletions

View file

@ -54,9 +54,8 @@ 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 $DEBIAN_VERSION; fi
RUN if [ -n "$POSTGRES_VERSION" ] ; then /scripts/install-postgresql $POSTGRES_VERSION; fi
# GraphicsMagick
ARG GRAPHISMAGICK_VERSION
@ -67,9 +66,8 @@ 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 $DEBIAN_VERSION; fi
RUN if [ -n "$DOCKER_VERSION" ]; then /scripts/install-docker $DOCKER_VERSION; fi
# Docker buildx plugin
ARG BUILDX_VERSION