From 449b544137d8a2659a14651b1c969e94e78f4f35 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 7 Sep 2022 22:17:14 +0200 Subject: [PATCH] [bitnami/memcached] Release 1.6.17-debian-11-r3 (#5503) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/memcached/1/debian-11/Dockerfile | 35 ++++++++++++++---------- bitnami/memcached/README.md | 2 +- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/bitnami/memcached/1/debian-11/Dockerfile b/bitnami/memcached/1/debian-11/Dockerfile index 27af0aadd674..a441592c8da1 100644 --- a/bitnami/memcached/1/debian-11/Dockerfile +++ b/bitnami/memcached/1/debian-11/Dockerfile @@ -1,35 +1,40 @@ FROM docker.io/bitnami/minideb:bullseye -ENV HOME="/" \ - OS_ARCH="amd64" \ - OS_FLAVOUR="debian-11" \ - OS_NAME="linux" + +ARG TARGETARCH LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ - org.opencontainers.image.ref.name="1.6.17-debian-11-r2" \ + org.opencontainers.image.ref.name="1.6.17-debian-11-r3" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/memcached" \ org.opencontainers.image.title="memcached" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="1.6.17" +ENV HOME="/" \ + OS_ARCH="${TARGETARCH:-amd64}" \ + OS_FLAVOUR="debian-11" \ + OS_NAME="linux" + COPY prebuildfs / SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages acl ca-certificates curl gzip libc6 libevent-2.1-7 libsasl2-2 libsasl2-modules procps sasl2-bin tar RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f memcached-1.6.17-0-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/memcached-1.6.17-0-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f memcached-1.6.17-0-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/memcached-1.6.17-0-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/memcached-1.6.17-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "b9a52d98837a873b3fc64e612aecfc219f8e92f1c5e9ae3b854b9d8b09591728 memcached-1.6.17-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf memcached-1.6.17-0-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf memcached-1.6.17-0-linux-amd64-debian-11.tar.gz + sha256sum -c memcached-1.6.17-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf memcached-1.6.17-0-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf memcached-1.6.17-0-linux-${OS_ARCH}-debian-11.tar.gz RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f gosu-1.14.0-154-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "e36c3d90f4fbfbe989f40947fa7c8ab817f12fcf97d3aef893c753a20ce976ab gosu-1.14.0-154-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf gosu-1.14.0-154-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf gosu-1.14.0-154-linux-amd64-debian-11.tar.gz + sha256sum -c gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz RUN apt-get update && apt-get upgrade -y && \ rm -r /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami diff --git a/bitnami/memcached/README.md b/bitnami/memcached/README.md index 404be43e030d..0409295d6e1a 100644 --- a/bitnami/memcached/README.md +++ b/bitnami/memcached/README.md @@ -45,7 +45,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-11`, `1.6.17`, `1.6.17-debian-11-r2`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/memcached/1/debian-11/Dockerfile) +* [`1`, `1-debian-11`, `1.6.17`, `1.6.17-debian-11-r3`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/memcached/1/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).