mirror of
https://github.com/bitnami/containers.git
synced 2026-04-04 16:27:46 +08:00
2.4.59-debian-10-r39 release
This commit is contained in:
@@ -16,7 +16,7 @@ RUN chmod g+rwX /opt/bitnami
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/openldap/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="openldap" \
|
||||
BITNAMI_IMAGE_VERSION="2.4.59-debian-10-r38" \
|
||||
BITNAMI_IMAGE_VERSION="2.4.59-debian-10-r39" \
|
||||
PATH="/opt/bitnami/openldap/bin:/opt/bitnami/openldap/sbin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
EXPOSE 1389 1636
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
# Functions
|
||||
|
||||
########################
|
||||
# Replace a regex in a file
|
||||
# Replace a regex-matching string in a file
|
||||
# Arguments:
|
||||
# $1 - filename
|
||||
# $2 - match regex
|
||||
@@ -30,7 +30,7 @@ replace_in_file() {
|
||||
# We should avoid using 'sed in-place' substitutions
|
||||
# 1) They are not compatible with files mounted from ConfigMap(s)
|
||||
# 2) We found incompatibility issues with Debian10 and "in-place" substitutions
|
||||
del=$'\001' # Use a non-printable character as a 'sed' delimiter to avoid issues
|
||||
local -r del=$'\001' # Use a non-printable character as a 'sed' delimiter to avoid issues
|
||||
if [[ $posix_regex = true ]]; then
|
||||
result="$(sed -E "s${del}${match_regex}${del}${substitute_regex}${del}g" "$filename")"
|
||||
else
|
||||
@@ -39,6 +39,26 @@ replace_in_file() {
|
||||
echo "$result" > "$filename"
|
||||
}
|
||||
|
||||
########################
|
||||
# Replace a regex-matching multiline string in a file
|
||||
# Arguments:
|
||||
# $1 - filename
|
||||
# $2 - match regex
|
||||
# $3 - substitute regex
|
||||
# Returns:
|
||||
# None
|
||||
#########################
|
||||
replace_in_file_multiline() {
|
||||
local filename="${1:?filename is required}"
|
||||
local match_regex="${2:?match regex is required}"
|
||||
local substitute_regex="${3:?substitute regex is required}"
|
||||
|
||||
local result
|
||||
local -r del=$'\001' # Use a non-printable character as a 'sed' delimiter to avoid issues
|
||||
result="$(perl -pe "BEGIN{undef $/;} s${del}${match_regex}${del}${substitute_regex}${del}sg" "$filename")"
|
||||
echo "$result" > "$filename"
|
||||
}
|
||||
|
||||
########################
|
||||
# Remove a line in a file based on a regex
|
||||
# Arguments:
|
||||
|
||||
@@ -36,7 +36,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
||||
|
||||
|
||||
* [`2.5`, `2.5-debian-10`, `2.5.7`, `2.5.7-debian-10-r5`, `latest` (2.5/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-openldap/blob/2.5.7-debian-10-r5/2.5/debian-10/Dockerfile)
|
||||
* [`2.4`, `2.4-debian-10`, `2.4.59`, `2.4.59-debian-10-r38` (2.4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-openldap/blob/2.4.59-debian-10-r38/2.4/debian-10/Dockerfile)
|
||||
* [`2.4`, `2.4-debian-10`, `2.4.59`, `2.4.59-debian-10-r39` (2.4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-openldap/blob/2.4.59-debian-10-r39/2.4/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/openldap GitHub repo](https://github.com/bitnami/bitnami-docker-openldap).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user