3.5.1-debian-10-r49 release

This commit is contained in:
Bitnami Bot
2021-12-11 02:14:41 +00:00
parent 4790e091ba
commit 295804c53d
3 changed files with 12 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ RUN chmod g+rwX /opt/bitnami
COPY rootfs /
RUN /opt/bitnami/scripts/etcd/postunpack.sh
ENV BITNAMI_APP_NAME="etcd" \
BITNAMI_IMAGE_VERSION="3.5.1-debian-10-r48" \
BITNAMI_IMAGE_VERSION="3.5.1-debian-10-r49" \
ETCDCTL_API="3"
EXPOSE 2379 2380

View File

@@ -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
}

View File

@@ -48,7 +48,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`, `3-debian-10`, `3.5.1`, `3.5.1-debian-10-r48`, `latest` (3/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-etcd/blob/3.5.1-debian-10-r48/3/debian-10/Dockerfile)
* [`3`, `3-debian-10`, `3.5.1`, `3.5.1-debian-10-r49`, `latest` (3/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-etcd/blob/3.5.1-debian-10-r49/3/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/etcd GitHub repo](https://github.com/bitnami/bitnami-docker-etcd).