mirror of
https://github.com/bitnami/containers.git
synced 2026-03-29 16:27:49 +08:00
[bitnami/jruby] Release 9.4.0-0-debian-11-r0 (#15987)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
51
bitnami/jruby/9.4/debian-11/Dockerfile
Normal file
51
bitnami/jruby/9.4/debian-11/Dockerfile
Normal file
@@ -0,0 +1,51 @@
|
||||
FROM docker.io/bitnami/minideb:bullseye
|
||||
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||
org.opencontainers.image.ref.name="9.4.0-0-debian-11-r0" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/jruby" \
|
||||
org.opencontainers.image.title="jruby" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="9.4.0-0"
|
||||
|
||||
ENV OS_ARCH="${TARGETARCH:-amd64}" \
|
||||
OS_FLAVOUR="debian-11" \
|
||||
OS_NAME="linux"
|
||||
|
||||
COPY prebuildfs /
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages build-essential ca-certificates curl git libbrotli1 libbz2-1.0 libcom-err2 libcrypt1 libcurl4 libexpat1 libffi7 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma5 libncursesw6 libnettle8 libnghttp2-14 libnsl2 libp11-kit0 libpsl5 libreadline8 librtmp1 libsasl2-2 libsqlite3-0 libsqlite3-dev libssh2-1 libssl-dev libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libtirpc3 libunistring2 pkg-config procps sqlite3 unzip wget zlib1g
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||
COMPONENTS=( \
|
||||
"python-3.8.15-3-linux-${OS_ARCH}-debian-11" \
|
||||
"node-16.18.1-1-linux-${OS_ARCH}-debian-11" \
|
||||
"java-17.0.5-8-2-linux-${OS_ARCH}-debian-11" \
|
||||
"jruby-9.4.0-0-0-linux-${OS_ARCH}-debian-11" \
|
||||
) && \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; 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 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/sha512/sha512 minlen=8/' /etc/pam.d/common-password
|
||||
|
||||
ENV APP_VERSION="9.4.0-0" \
|
||||
BITNAMI_APP_NAME="jruby" \
|
||||
PATH="/opt/bitnami/python/bin:/opt/bitnami/node/bin:/opt/bitnami/java/bin:/opt/bitnami/jruby/bin:$PATH"
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
WORKDIR /app
|
||||
CMD [ "irb" ]
|
||||
11
bitnami/jruby/9.4/debian-11/docker-compose.yml
Normal file
11
bitnami/jruby/9.4/debian-11/docker-compose.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
jruby:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: docker.io/bitnami/jruby:9.4
|
||||
# command: sh -c 'bundle install && bundle exec rails server -b 0.0.0.0 -p 3000'
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- .:/app
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"java": {
|
||||
"arch": "amd64",
|
||||
"digest": "ba9b1ccbacdefcc3fbbf6eca8c546323399d05ce4d4377fd32434378794da445",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "17.0.5-8-2"
|
||||
},
|
||||
"jruby": {
|
||||
"arch": "amd64",
|
||||
"digest": "37431f92d3c5a599e694fc64750a83ee6035fa4b18ec136343bfc8d718a47948",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "9.4.0-0-0"
|
||||
},
|
||||
"node": {
|
||||
"arch": "amd64",
|
||||
"digest": "02c19388db4ac3c8d8d614285a7092714836f87c45cf2ab39982361346816749",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "16.18.1-1"
|
||||
},
|
||||
"python": {
|
||||
"arch": "amd64",
|
||||
"digest": "40824441f50b8a5b6459c804b79b1fc61ed9ecd55abe1055783afa9f16e2295c",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "3.8.15-3"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
Bitnami containers ship with software bundles. You can find the licenses under:
|
||||
/opt/bitnami/nami/COPYING
|
||||
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt
|
||||
25
bitnami/jruby/9.4/debian-11/prebuildfs/usr/sbin/install_packages
Executable file
25
bitnami/jruby/9.4/debian-11/prebuildfs/usr/sbin/install_packages
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
n=0
|
||||
max=2
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
until [ $n -gt $max ]; do
|
||||
set +e
|
||||
(
|
||||
apt-get update -qq &&
|
||||
apt-get install -y --no-install-recommends "$@"
|
||||
)
|
||||
CODE=$?
|
||||
set -e
|
||||
if [ $CODE -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
if [ $n -eq $max ]; then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "apt failed, retrying"
|
||||
n=$(($n + 1))
|
||||
done
|
||||
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||
5
bitnami/jruby/9.4/debian-11/tags-info.yaml
Normal file
5
bitnami/jruby/9.4/debian-11/tags-info.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
rolling-tags:
|
||||
- "9.4"
|
||||
- "9.4-debian-11"
|
||||
- "9.4.0-0"
|
||||
- "latest"
|
||||
@@ -3,7 +3,7 @@ version: '2'
|
||||
services:
|
||||
jruby:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: docker.io/bitnami/jruby:9.3
|
||||
image: docker.io/bitnami/jruby:9.4
|
||||
# command: sh -c 'bundle install && bundle exec rails server -b 0.0.0.0 -p 3000'
|
||||
ports:
|
||||
- 3000:3000
|
||||
|
||||
Reference in New Issue
Block a user