[bitnami/ruby] Release 4.0.2-debian-12-r2 (#92505)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2026-04-16 05:53:35 +02:00
committed by GitHub
parent 91d31adf2e
commit 3d4a1404a9
2 changed files with 9 additions and 18 deletions
+3 -3
View File
@@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
ARG TARGETARCH
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2026-04-08T21:26:47Z" \
org.opencontainers.image.created="2026-04-16T01:23:58Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/ruby/README.md" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/ruby" \
@@ -27,7 +27,7 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
COMPONENTS=( \
"ruby-4.0.2-0-linux-${OS_ARCH}-debian-12" \
"ruby-4.0.2-1-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -47,7 +47,7 @@ RUN sed -i 's/^PASS_MAX_DAYS.*/PASS_MAX_DAYS 90/' /etc/login.defs && \
ENV APP_VERSION="4.0.2" \
BITNAMI_APP_NAME="ruby" \
IMAGE_REVISION="1" \
IMAGE_REVISION="2" \
PATH="/opt/bitnami/ruby/bin:$PATH"
EXPOSE 3000
+6 -15
View File
@@ -11,6 +11,12 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema
docker run -it --name ruby bitnami/ruby:latest
```
## Using `docker-compose.yml`
The docker-compose.yaml file of this container can be found in the [Bitnami Containers repository](https://github.com/bitnami/containers/).
[https://github.com/bitnami/containers/tree/main/bitnami/ruby/docker-compose.yml](https://github.com/bitnami/containers/tree/main/bitnami/ruby/docker-compose.yml)
## Why use Bitnami Secure Images?
Those are hardened, minimal CVE images built and maintained by Bitnami. Bitnami Secure Images are based on the cloud-optimized, security-hardened enterprise [OS Photon Linux](https://vmware.github.io/photon/). Why choose BSI images?
@@ -80,10 +86,6 @@ The formatting convention for `prod` tags has been changed:
The Bitnami Ruby Docker image is only available to [Bitnami Secure Images](https://bitnami.com) customers.
## Using `docker-compose.yaml`
Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes.
## Entering the REPL
By default, running this image will drop you into the Ruby REPL (`irb`), where you can interactively test and try things out in Ruby.
@@ -118,17 +120,6 @@ docker run -it --name ruby -v /path/to/app:/app bitnami/ruby:latest \
sh -c "bundle install && ruby script.rb"
```
or by modifying the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/ruby/docker-compose.yml) file present in this repository:
```yaml
ruby:
...
command: "sh -c 'bundle install && ruby script.rb'"
volumes:
- .:/app
...
```
**Further Reading:**
- [rubygems.org](https://rubygems.org/)