Pin to Debian Bullseye

This commit is contained in:
sebthom 2023-06-02 11:59:36 +02:00
parent ec36a934de
commit 11cbce6e54
3 changed files with 5 additions and 5 deletions

View file

@ -22,7 +22,7 @@ # vegardit/openldap <a href="https://github.com/vegardit/docker-openldap/" title
## <a name="what-is-it"></a>What is it?
Opinionated docker image based on the [Debian](https://www.debian.org/) docker image [`debian:stable-slim`](https://hub.docker.com/_/debian?tab=tags&name=stable-slim) to run an [OpenLDAP 2.4](https://www.openldap.org/doc/admin24/) server.
Opinionated docker image is currently based on the [Debian](https://www.debian.org/) docker image [`debian:bullseye-slim`](https://hub.docker.com/_/debian?tab=tags&name=bullseye-slim) to run an [OpenLDAP 2.4](https://www.openldap.org/doc/admin24/) server.
It is automatically built **daily** to include the latest OS security fixes.

View file

@ -17,7 +17,7 @@ source "$shared_lib/lib/build-image-init.sh"
#################################################
docker_registry=${DOCKER_REGISTRY:-docker.io}
image_repo=${DOCKER_IMAGE_REPO:-vegardit/openldap}
base_image_name=${DOCKER_BASE_IMAGE:-debian:stable-slim}
base_image_name=${DOCKER_BASE_IMAGE:-debian:bullseye-slim}
base_image_tag=${base_image_name#*:}
image_name=$image_repo:latest
@ -58,7 +58,7 @@ echo "ldap_version=$ldap_version"
#################################################
# apply tags
#################################################
declare -a tags=()
declare -a tags=()
tags+=($image_name) # :latest
tags+=($image_repo:${ldap_version}) # :2.4.47
tags+=($image_repo:${ldap_version%.*}.x) # :2.4.x

View file

@ -7,8 +7,8 @@
# https://github.com/vegardit/docker-openldap
#
# https://hub.docker.com/_/debian?tab=tags&name=stable-slim
ARG BASE_IMAGE=debian:stable-slim
# https://hub.docker.com/_/debian?tab=tags&name=bullseye-slim
ARG BASE_IMAGE=debian:bullseye-slim
FROM ${BASE_IMAGE}