diff --git a/README.md b/README.md index 02de97c..ca7b888 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ # vegardit/openldap 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. diff --git a/build-image.sh b/build-image.sh index ddaaa57..eeb7f25 100644 --- a/build-image.sh +++ b/build-image.sh @@ -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 diff --git a/image/Dockerfile b/image/Dockerfile index 6a0a457..9d7f21f 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -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}