1.6.5-debian-10-r24 release
This commit is contained in:
parent
c52b5835fd
commit
1d6279e55e
|
|
@ -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.5-debian-10-r23" \
|
||||
BITNAMI_IMAGE_VERSION="1.6.5-debian-10-r24" \
|
||||
PATH="/opt/bitnami/memcached/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
EXPOSE 11211
|
||||
|
|
|
|||
|
|
@ -38,17 +38,24 @@ is_service_running() {
|
|||
# Stop a service by sending a termination signal to its pid
|
||||
# Arguments:
|
||||
# $1 - Pid file
|
||||
# $2 - Signal number (optional)
|
||||
# Returns:
|
||||
# None
|
||||
#########################
|
||||
stop_service_using_pid() {
|
||||
local pid_file="${1:?pid file is missing}"
|
||||
local signal="${2:-}"
|
||||
local pid
|
||||
|
||||
pid="$(get_pid_from_file "$pid_file")"
|
||||
[[ -z "$pid" ]] || ! is_service_running "$pid" && return
|
||||
|
||||
kill "$pid"
|
||||
if [[ -n "$signal" ]]; then
|
||||
kill "-${signal}" "$pid"
|
||||
else
|
||||
kill "$pid"
|
||||
fi
|
||||
|
||||
local counter=10
|
||||
while [[ "$counter" -ne 0 ]] && is_service_running "$pid"; do
|
||||
sleep 1
|
||||
|
|
|
|||
|
|
@ -44,7 +44,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/).
|
||||
|
||||
|
||||
* [`1-debian-10`, `1.6.5-debian-10-r23`, `1`, `1.6.5`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-memcached/blob/1.6.5-debian-10-r23/1/debian-10/Dockerfile)
|
||||
* [`1-debian-10`, `1.6.5-debian-10-r24`, `1`, `1.6.5`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-memcached/blob/1.6.5-debian-10-r24/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