From 5ccdf13161912b2a75fd587758a59625549cb347 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 5 Oct 2022 22:21:27 +0200 Subject: [PATCH] [bitnami/mysql] Release 5.7.39-debian-11-r26 (#9053) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/mysql/5.7/debian-11/Dockerfile | 41 ++++++++++---------------- bitnami/mysql/README.md | 2 +- 2 files changed, 17 insertions(+), 26 deletions(-) diff --git a/bitnami/mysql/5.7/debian-11/Dockerfile b/bitnami/mysql/5.7/debian-11/Dockerfile index aa14d657c5af..5d601a3ac40a 100644 --- a/bitnami/mysql/5.7/debian-11/Dockerfile +++ b/bitnami/mysql/5.7/debian-11/Dockerfile @@ -4,7 +4,7 @@ ARG TARGETARCH LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ - org.opencontainers.image.ref.name="5.7.39-debian-11-r25" \ + org.opencontainers.image.ref.name="5.7.39-debian-11-r26" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/mysql" \ org.opencontainers.image.title="mysql" \ org.opencontainers.image.vendor="VMware, Inc." \ @@ -20,30 +20,21 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages ca-certificates curl libaio1 libc6 libcom-err2 libcrypt1 libgcc-s1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libsasl2-2 libssl1.1 libstdc++6 libtinfo6 libtirpc3 procps psmisc RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f ini-file-1.4.3-153-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/ini-file-1.4.3-153-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/ini-file-1.4.3-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ - fi && \ - sha256sum -c ini-file-1.4.3-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ - tar -zxf ini-file-1.4.3-153-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf ini-file-1.4.3-153-linux-${OS_ARCH}-debian-11.tar.gz ini-file-1.4.3-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f mysql-5.7.39-2-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/mysql-5.7.39-2-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/mysql-5.7.39-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ - fi && \ - sha256sum -c mysql-5.7.39-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ - tar -zxf mysql-5.7.39-2-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf mysql-5.7.39-2-linux-${OS_ARCH}-debian-11.tar.gz mysql-5.7.39-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - 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 && \ - 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 gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -RUN apt-get update && apt-get upgrade -y && \ + for COMPONENT in \ + "ini-file-1.4.3-153-linux-${OS_ARCH}-debian-11" \ + "mysql-5.7.39-2-linux-${OS_ARCH}-debian-11" \ + "gosu-1.14.0-154-linux-${OS_ARCH}-debian-11" ; \ + do \ + if [ ! -f "${COMPONENT}.tar.gz" ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256 -O ; \ + fi && \ + sha256sum -c "${COMPONENT}.tar.gz.sha256" && \ + tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf "${COMPONENT}.tar.gz{,sha256}" ; \ + done +RUN apt-get autoremove --purge -y curl && \ + apt-get update && apt-get upgrade -y && \ apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami RUN mkdir /docker-entrypoint-initdb.d diff --git a/bitnami/mysql/README.md b/bitnami/mysql/README.md index ce1e3d4c34a2..6fb3d08add4f 100644 --- a/bitnami/mysql/README.md +++ b/bitnami/mysql/README.md @@ -48,7 +48,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t * [`8.0`, `8.0-debian-11`, `8.0.30`, `8.0.30-debian-11-r25`, `latest` (8.0/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/mysql/8.0/debian-11/Dockerfile) -* [`5.7`, `5.7-debian-11`, `5.7.39`, `5.7.39-debian-11-r25` (5.7/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/mysql/5.7/debian-11/Dockerfile) +* [`5.7`, `5.7-debian-11`, `5.7.39`, `5.7.39-debian-11-r26` (5.7/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/mysql/5.7/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).