mirror of
https://github.com/bitnami/containers.git
synced 2026-04-02 07:18:06 +08:00
[bitnami/mysql] Release 5.7.39-debian-11-r21 (#7177)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -4,7 +4,7 @@ ARG TARGETARCH
|
|||||||
|
|
||||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||||
org.opencontainers.image.ref.name="5.7.39-debian-11-r20" \
|
org.opencontainers.image.ref.name="5.7.39-debian-11-r21" \
|
||||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/mysql" \
|
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/mysql" \
|
||||||
org.opencontainers.image.title="mysql" \
|
org.opencontainers.image.title="mysql" \
|
||||||
org.opencontainers.image.vendor="VMware, Inc." \
|
org.opencontainers.image.vendor="VMware, Inc." \
|
||||||
@@ -44,7 +44,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
|||||||
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' && \
|
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
|
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 && \
|
RUN apt-get update && apt-get upgrade -y && \
|
||||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||||
RUN chmod g+rwX /opt/bitnami
|
RUN chmod g+rwX /opt/bitnami
|
||||||
RUN mkdir /docker-entrypoint-initdb.d
|
RUN mkdir /docker-entrypoint-initdb.d
|
||||||
|
|
||||||
|
|||||||
@@ -197,6 +197,8 @@ am_i_root() {
|
|||||||
# --version - Distro version
|
# --version - Distro version
|
||||||
# --branch - Distro branch
|
# --branch - Distro branch
|
||||||
# --codename - Distro codename
|
# --codename - Distro codename
|
||||||
|
# --name - Distro name
|
||||||
|
# --pretty-name - Distro pretty name
|
||||||
# Returns:
|
# Returns:
|
||||||
# String
|
# String
|
||||||
#########################
|
#########################
|
||||||
@@ -223,6 +225,12 @@ get_os_metadata() {
|
|||||||
--codename)
|
--codename)
|
||||||
get_os_release_metadata VERSION_CODENAME
|
get_os_release_metadata VERSION_CODENAME
|
||||||
;;
|
;;
|
||||||
|
--name)
|
||||||
|
get_os_release_metadata NAME
|
||||||
|
;;
|
||||||
|
--pretty-name)
|
||||||
|
get_os_release_metadata PRETTY_NAME
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
error "Unknown flag ${flag_name}"
|
error "Unknown flag ${flag_name}"
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -eu
|
||||||
set -u
|
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
|
||||||
n=0
|
n=0
|
||||||
max=2
|
max=2
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
until [ $n -gt $max ]; do
|
until [ $n -gt $max ]; do
|
||||||
set +e
|
set +e
|
||||||
(
|
(
|
||||||
@@ -21,4 +22,4 @@ until [ $n -gt $max ]; do
|
|||||||
echo "apt failed, retrying"
|
echo "apt failed, retrying"
|
||||||
n=$(($n + 1))
|
n=$(($n + 1))
|
||||||
done
|
done
|
||||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||||
|
|||||||
@@ -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-r20`, `latest` (8.0/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/mysql/8.0/debian-11/Dockerfile)
|
* [`8.0`, `8.0-debian-11`, `8.0.30`, `8.0.30-debian-11-r20`, `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-r20` (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-r21` (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).
|
Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user