[bitnami/ghost] Release 4.48.4-debian-11-r7 (#7638)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
parent
5ee446e166
commit
09152cc321
|
|
@ -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="4.48.4-debian-11-r6" \
|
org.opencontainers.image.ref.name="4.48.4-debian-11-r7" \
|
||||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/ghost" \
|
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/ghost" \
|
||||||
org.opencontainers.image.title="ghost" \
|
org.opencontainers.image.title="ghost" \
|
||||||
org.opencontainers.image.vendor="VMware, Inc." \
|
org.opencontainers.image.vendor="VMware, Inc." \
|
||||||
|
|
@ -18,7 +18,7 @@ ENV HOME="/" \
|
||||||
COPY prebuildfs /
|
COPY prebuildfs /
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
# Install required system packages and dependencies
|
# Install required system packages and dependencies
|
||||||
RUN install_packages acl ca-certificates curl gzip jq libaudit1 libbz2-1.0 libc6 libcap-ng0 libcom-err2 libcrypt1 libffi7 libgcc-s1 libgssapi-krb5-2 libicu67 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncurses6 libncursesw6 libnsl2 libpam0g libreadline8 libsqlite3-0 libssl1.1 libstdc++6 libtinfo6 libtirpc3 libxml2 procps tar zlib1g
|
RUN install_packages acl ca-certificates curl jq libaudit1 libbz2-1.0 libc6 libcap-ng0 libcom-err2 libcrypt1 libffi7 libgcc-s1 libgssapi-krb5-2 libicu67 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncurses6 libncursesw6 libnsl2 libpam0g libreadline8 libsqlite3-0 libssl1.1 libstdc++6 libtinfo6 libtirpc3 libxml2 procps zlib1g
|
||||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||||
if [ ! -f python-3.8.14-1-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
|
if [ ! -f python-3.8.14-1-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
|
||||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/python-3.8.14-1-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
|
curl -SsLf https://downloads.bitnami.com/files/stacksmith/python-3.8.14-1-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -498,3 +506,50 @@ get_machine_id() {
|
||||||
fi
|
fi
|
||||||
echo "$machine_id"
|
echo "$machine_id"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
########################
|
||||||
|
# Get the root partition's disk device ID (e.g. /dev/sda1)
|
||||||
|
# Globals:
|
||||||
|
# None
|
||||||
|
# Arguments:
|
||||||
|
# None
|
||||||
|
# Returns:
|
||||||
|
# Root partition disk ID
|
||||||
|
#########################
|
||||||
|
get_disk_device_id() {
|
||||||
|
local device_id=""
|
||||||
|
if grep -q ^/dev /proc/mounts; then
|
||||||
|
device_id="$(grep -q ^/dev /proc/mounts | awk '$2 == "/" { print $1 }' | tail -1)"
|
||||||
|
fi
|
||||||
|
# If it could not be autodetected, fallback to /dev/sda1 as a default
|
||||||
|
if [[ -z "$device_id" || ! -b "$device_id" ]]; then
|
||||||
|
device_id="/dev/sda1"
|
||||||
|
fi
|
||||||
|
echo "$device_id"
|
||||||
|
}
|
||||||
|
|
||||||
|
########################
|
||||||
|
# Get the root disk device ID (e.g. /dev/sda)
|
||||||
|
# Globals:
|
||||||
|
# None
|
||||||
|
# Arguments:
|
||||||
|
# None
|
||||||
|
# Returns:
|
||||||
|
# Root disk ID
|
||||||
|
#########################
|
||||||
|
get_root_disk_device_id() {
|
||||||
|
get_disk_device_id | sed 's/[0-9]\+$//'
|
||||||
|
}
|
||||||
|
|
||||||
|
########################
|
||||||
|
# Get the root disk size in bytes
|
||||||
|
# Globals:
|
||||||
|
# None
|
||||||
|
# Arguments:
|
||||||
|
# None
|
||||||
|
# Returns:
|
||||||
|
# Root disk size in bytes
|
||||||
|
#########################
|
||||||
|
get_root_disk_size() {
|
||||||
|
fdisk -l "$(get_root_disk_device_id)" | grep 'Disk.*bytes' | sed -E 's/.*, ([0-9]+) bytes,.*/\1/' || true
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
(
|
(
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,8 @@ 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/).
|
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/).
|
||||||
|
|
||||||
|
|
||||||
- [`5`, `5-debian-11`, `5.15.0`, `5.15.0-debian-11-r2`, `latest` (5/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/ghost/5/debian-11/Dockerfile)
|
- [`5`, `5-debian-11`, `5.15.0`, `5.15.0-debian-11-r1`, `latest` (5/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/ghost/5/debian-11/Dockerfile)
|
||||||
- [`4`, `4-debian-11`, `4.48.4`, `4.48.4-debian-11-r6` (4/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/ghost/4/debian-11/Dockerfile)
|
- [`4`, `4-debian-11`, `4.48.4`, `4.48.4-debian-11-r7` (4/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/ghost/4/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).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue