1.6.3-debian-10-r19 release
This commit is contained in:
parent
19a7a0cb10
commit
74a72461cf
|
|
@ -19,7 +19,7 @@ RUN ln -s /opt/bitnami/scripts/memcached/run.sh /run.sh
|
|||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/memcached/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="memcached" \
|
||||
BITNAMI_IMAGE_VERSION="1.6.3-debian-10-r18" \
|
||||
BITNAMI_IMAGE_VERSION="1.6.3-debian-10-r19" \
|
||||
PATH="/opt/bitnami/memcached/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
EXPOSE 11211
|
||||
|
|
|
|||
|
|
@ -21,6 +21,31 @@ dns_lookup() {
|
|||
getent ahosts "$host" | awk '/STREAM/ {print $1 }'
|
||||
}
|
||||
|
||||
#########################
|
||||
## Wait for a hostname and return the IP
|
||||
# Arguments:
|
||||
# $1 - hostname
|
||||
# $2 - number of retries
|
||||
# $3 - seconds to wait between retries
|
||||
# Returns:
|
||||
# - IP address that corresponds to the hostname
|
||||
#########################
|
||||
wait_for_dns_lookup() {
|
||||
local hostname="${1:?hostname is missing}"
|
||||
local retries="${2:-5}"
|
||||
local seconds="${3:-1}"
|
||||
check_host() {
|
||||
if [[ $(dns_lookup "$hostname") == "" ]]; then
|
||||
false
|
||||
else
|
||||
true
|
||||
fi
|
||||
}
|
||||
# Wait 10 minutes for the host to be ready
|
||||
retry_while "check_host ${hostname}" "$retries" "$seconds"
|
||||
dns_lookup "$hostname"
|
||||
}
|
||||
|
||||
########################
|
||||
# Get machine's IP
|
||||
# Arguments:
|
||||
|
|
|
|||
|
|
@ -46,7 +46,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/containers/how-to/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`1-debian-10`, `1.6.3-debian-10-r18`, `1`, `1.6.3`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-memcached/blob/1.6.3-debian-10-r18/1/debian-10/Dockerfile)
|
||||
* [`1-debian-10`, `1.6.3-debian-10-r19`, `1`, `1.6.3`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-memcached/blob/1.6.3-debian-10-r19/1/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/memcached GitHub repo](https://github.com/bitnami/bitnami-docker-memcached).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue