mirror of
https://github.com/bitnami/containers.git
synced 2026-03-14 14:58:01 +08:00
3.5.2-debian-10-r21 release
This commit is contained in:
@@ -19,7 +19,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.2-debian-10-r20" \
|
||||
BITNAMI_IMAGE_VERSION="3.5.2-debian-10-r21" \
|
||||
ETCDCTL_API="3" \
|
||||
PATH="/opt/bitnami/common/bin:/opt/bitnami/etcd/bin:$PATH"
|
||||
|
||||
|
||||
@@ -74,8 +74,9 @@ is_dir_empty() {
|
||||
# boolean
|
||||
#########################
|
||||
is_mounted_dir_empty() {
|
||||
local dir="${1:?missing directory}"
|
||||
|
||||
local -r path="${1:?missing directory}"
|
||||
# Calculate real path in order to avoid issues with symlinks
|
||||
local -r dir="$(realpath "$path")"
|
||||
if is_dir_empty "$dir" || find "$dir" -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" -exec false {} +; then
|
||||
true
|
||||
else
|
||||
|
||||
@@ -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.2`, `3.5.2-debian-10-r20`, `latest` (3/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-etcd/blob/3.5.2-debian-10-r20/3/debian-10/Dockerfile)
|
||||
* [`3`, `3-debian-10`, `3.5.2`, `3.5.2-debian-10-r21`, `latest` (3/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-etcd/blob/3.5.2-debian-10-r21/3/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/etcd GitHub repo](https://github.com/bitnami/bitnami-docker-etcd).
|
||||
|
||||
@@ -116,7 +116,7 @@ Finally we create a new container instance to launch the Etcd client and connect
|
||||
$ docker run -it --rm \
|
||||
--network app-tier \
|
||||
--env ALLOW_NONE_AUTHENTICATION=yes \
|
||||
bitnami/etcd:latest Etcdctl --endpoints http://etcd-server:2379 put /message Hello
|
||||
bitnami/etcd:latest etcdctl --endpoints http://etcd-server:2379 put /message Hello
|
||||
```
|
||||
|
||||
### Using Docker Compose
|
||||
|
||||
Reference in New Issue
Block a user