mirror of
https://github.com/vegardit/docker-openldap.git
synced 2026-05-21 12:14:16 +02:00
Pin to Debian Bullseye
This commit is contained in:
parent
ec36a934de
commit
11cbce6e54
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue