mirror of
https://github.com/bitnami/containers.git
synced 2026-03-06 15:09:19 +08:00
1.6.9-debian-10-r98 release
This commit is contained in:
@@ -18,7 +18,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.9-debian-10-r97" \
|
||||
BITNAMI_IMAGE_VERSION="1.6.9-debian-10-r98" \
|
||||
PATH="/opt/bitnami/memcached/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
EXPOSE 11211
|
||||
|
||||
@@ -103,6 +103,8 @@ generate_cron_conf() {
|
||||
local run_as="root"
|
||||
local schedule="* * * * *"
|
||||
|
||||
local clean="true"
|
||||
|
||||
# Parse optional CLI flags
|
||||
shift 2
|
||||
while [[ "$#" -gt 0 ]]; do
|
||||
@@ -115,6 +117,9 @@ generate_cron_conf() {
|
||||
shift
|
||||
schedule="$1"
|
||||
;;
|
||||
--no-clean)
|
||||
clean="false"
|
||||
;;
|
||||
*)
|
||||
echo "Invalid command line flag ${1}" >&2
|
||||
return 1
|
||||
@@ -124,7 +129,11 @@ generate_cron_conf() {
|
||||
done
|
||||
|
||||
mkdir -p /etc/cron.d
|
||||
echo "${schedule} ${run_as} ${cmd}" > /etc/cron.d/"$service_name"
|
||||
if "$clean"; then
|
||||
echo "${schedule} ${run_as} ${cmd}" > /etc/cron.d/"$service_name"
|
||||
else
|
||||
echo "${schedule} ${run_as} ${cmd}" >> /etc/cron.d/"$service_name"
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
|
||||
@@ -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`, `1-debian-10`, `1.6.9`, `1.6.9-debian-10-r97`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-memcached/blob/1.6.9-debian-10-r97/1/debian-10/Dockerfile)
|
||||
* [`1`, `1-debian-10`, `1.6.9`, `1.6.9-debian-10-r98`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-memcached/blob/1.6.9-debian-10-r98/1/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/memcached GitHub repo](https://github.com/bitnami/bitnami-docker-memcached).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user