mirror of
https://github.com/bitnami/containers.git
synced 2026-03-04 06:47:25 +08:00
3.7.0-debian-10-r228 release
This commit is contained in:
@@ -21,7 +21,7 @@ RUN ln -s /opt/bitnami/scripts/zookeeper/run.sh /run.sh
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/zookeeper/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="zookeeper" \
|
||||
BITNAMI_IMAGE_VERSION="3.7.0-debian-10-r227"
|
||||
BITNAMI_IMAGE_VERSION="3.7.0-debian-10-r228"
|
||||
|
||||
EXPOSE 2181 2888 3888 8080
|
||||
|
||||
|
||||
@@ -20,8 +20,13 @@
|
||||
owned_by() {
|
||||
local path="${1:?path is missing}"
|
||||
local owner="${2:?owner is missing}"
|
||||
local group="${3:-}"
|
||||
|
||||
chown "$owner":"$owner" "$path"
|
||||
if [[ -n $group ]]; then
|
||||
chown "$owner":"$group" "$path"
|
||||
else
|
||||
chown "$owner":"$owner" "$path"
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
@@ -34,11 +39,12 @@ owned_by() {
|
||||
#########################
|
||||
ensure_dir_exists() {
|
||||
local dir="${1:?directory is missing}"
|
||||
local owner="${2:-}"
|
||||
local owner_user="${2:-}"
|
||||
local owner_group="${3:-}"
|
||||
|
||||
mkdir -p "${dir}"
|
||||
if [[ -n $owner ]]; then
|
||||
owned_by "$dir" "$owner"
|
||||
if [[ -n $owner_user ]]; then
|
||||
owned_by "$dir" "$owner_user" "$owner_group"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ Non-root container images add an extra layer of security and are generally recom
|
||||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`3.7`, `3.7-debian-10`, `3.7.0`, `3.7.0-debian-10-r227`, `latest` (3.7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-zookeeper/blob/3.7.0-debian-10-r227/3.7/debian-10/Dockerfile)
|
||||
* [`3.7`, `3.7-debian-10`, `3.7.0`, `3.7.0-debian-10-r228`, `latest` (3.7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-zookeeper/blob/3.7.0-debian-10-r228/3.7/debian-10/Dockerfile)
|
||||
* [`3.6`, `3.6-debian-10`, `3.6.3`, `3.6.3-debian-10-r183` (3.6/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-zookeeper/blob/3.6.3-debian-10-r183/3.6/debian-10/Dockerfile)
|
||||
* [`3.5`, `3.5-debian-10`, `3.5.9`, `3.5.9-debian-10-r66` (3.5/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-zookeeper/blob/3.5.9-debian-10-r66/3.5/debian-10/Dockerfile)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user