diff --git a/bitnami/etcd/3.6/debian-12/Dockerfile b/bitnami/etcd/3.6/debian-12/Dockerfile index afcf643d0d89..9e506c4b5765 100644 --- a/bitnami/etcd/3.6/debian-12/Dockerfile +++ b/bitnami/etcd/3.6/debian-12/Dockerfile @@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="https://downloads.bitnami.com/files/stacksmith" ARG TARGETARCH LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2026-07-01T21:55:51Z" \ + org.opencontainers.image.created="2026-07-06T09:14:50Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/etcd/README.md" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/etcd" \ @@ -50,7 +50,7 @@ COPY rootfs / RUN /opt/bitnami/scripts/etcd/postunpack.sh ENV APP_VERSION="3.6.13" \ BITNAMI_APP_NAME="etcd" \ - IMAGE_REVISION="0" \ + IMAGE_REVISION="1" \ PATH="/opt/bitnami/common/bin:/opt/bitnami/etcd/bin:$PATH" EXPOSE 2379 2380 diff --git a/bitnami/etcd/3.6/debian-12/rootfs/opt/bitnami/scripts/libetcd.sh b/bitnami/etcd/3.6/debian-12/rootfs/opt/bitnami/scripts/libetcd.sh index aed6dfb36ce8..cd3cb753a3a2 100644 --- a/bitnami/etcd/3.6/debian-12/rootfs/opt/bitnami/scripts/libetcd.sh +++ b/bitnami/etcd/3.6/debian-12/rootfs/opt/bitnami/scripts/libetcd.sh @@ -568,6 +568,10 @@ etcd_safe_load_member_env() { local _k _v while IFS='=' read -r _k _v; do [[ "$_k" =~ ^ETCD_[A-Z_]+$ ]] || continue + # etcdctl member add emits shell-quoted KEY="VALUE" lines; strip + # the surrounding double-quotes so they are not passed to etcd. + _v="${_v#\"}" + _v="${_v%\"}" export "$_k"="$_v" done < "$ETCD_NEW_MEMBERS_ENV_FILE" }