mirror of
https://github.com/bitnami/containers.git
synced 2026-03-16 06:49:12 +08:00
[bitnami/ruby] Release 2.7.6-debian-11-r47 (#9328)
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="2.7.6-debian-11-r45" \
|
org.opencontainers.image.ref.name="2.7.6-debian-11-r47" \
|
||||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/ruby" \
|
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/ruby" \
|
||||||
org.opencontainers.image.title="ruby" \
|
org.opencontainers.image.title="ruby" \
|
||||||
org.opencontainers.image.vendor="VMware, Inc." \
|
org.opencontainers.image.vendor="VMware, Inc." \
|
||||||
@@ -17,16 +17,22 @@ ENV OS_ARCH="${TARGETARCH:-amd64}" \
|
|||||||
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 build-essential ca-certificates curl git libc6 libcrypt1 libreadline-dev libreadline8 libsqlite3-dev libssl-dev libssl1.1 libtinfo6 pkg-config procps sqlite3 unzip wget zlib1g
|
RUN install_packages build-essential ca-certificates curl git libcrypt1 libreadline-dev libreadline8 libsqlite3-dev libssl-dev libssl1.1 libtinfo6 pkg-config procps sqlite3 unzip wget 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 ruby-2.7.6-153-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
|
COMPONENTS=( \
|
||||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/ruby-2.7.6-153-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
|
"ruby-2.7.6-154-linux-${OS_ARCH}-debian-11" \
|
||||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/ruby-2.7.6-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \
|
) && \
|
||||||
fi && \
|
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||||
sha256sum -c ruby-2.7.6-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \
|
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||||
tar -zxf ruby-2.7.6-153-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
|
curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \
|
||||||
rm -rf ruby-2.7.6-153-linux-${OS_ARCH}-debian-11.tar.gz ruby-2.7.6-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256
|
curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \
|
||||||
RUN apt-get update && apt-get upgrade -y && \
|
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
|
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||||
RUN sed -i 's/^PASS_MAX_DAYS.*/PASS_MAX_DAYS 90/' /etc/login.defs && \
|
RUN sed -i 's/^PASS_MAX_DAYS.*/PASS_MAX_DAYS 90/' /etc/login.defs && \
|
||||||
sed -i 's/^PASS_MIN_DAYS.*/PASS_MIN_DAYS 0/' /etc/login.defs && \
|
sed -i 's/^PASS_MIN_DAYS.*/PASS_MIN_DAYS 0/' /etc/login.defs && \
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"ruby": {
|
"ruby": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"digest": "b1dcd98e0cbf8f896619e60e3867bbd7c63e28a319a4d57833f1698d9d2f7e6d",
|
"digest": "fded6ba8cbdf14d71b9a246be0c76cf197234c2364e5802d5b08d60034f5ccba",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "2.7.6-153"
|
"version": "2.7.6-154"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -37,7 +37,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
|||||||
|
|
||||||
* [`3.1`, `3.1-debian-11`, `3.1.2`, `3.1.2-debian-11-r47`, `latest` (3.1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/ruby/3.1/debian-11/Dockerfile)
|
* [`3.1`, `3.1-debian-11`, `3.1.2`, `3.1.2-debian-11-r47`, `latest` (3.1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/ruby/3.1/debian-11/Dockerfile)
|
||||||
* [`3.0`, `3.0-debian-11`, `3.0.4`, `3.0.4-debian-11-r45` (3.0/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/ruby/3.0/debian-11/Dockerfile)
|
* [`3.0`, `3.0-debian-11`, `3.0.4`, `3.0.4-debian-11-r45` (3.0/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/ruby/3.0/debian-11/Dockerfile)
|
||||||
* [`2.7`, `2.7-debian-11`, `2.7.6`, `2.7.6-debian-11-r46` (2.7/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/ruby/2.7/debian-11/Dockerfile)
|
* [`2.7`, `2.7-debian-11`, `2.7.6`, `2.7.6-debian-11-r47` (2.7/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/ruby/2.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