mirror of
https://github.com/bitnami/containers.git
synced 2026-03-29 16:27:49 +08:00
[bitnami/jasperreports] Release 8.1.0-debian-11-r57 (#25114)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -4,10 +4,10 @@ ARG JAVA_EXTRA_SECURITY_DIR="/bitnami/java/extra-security"
|
|||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||||
org.opencontainers.image.created="2023-02-21T07:59:11Z" \
|
org.opencontainers.image.created="2023-02-23T18:52:46Z" \
|
||||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||||
org.opencontainers.image.licenses="Apache-2.0" \
|
org.opencontainers.image.licenses="Apache-2.0" \
|
||||||
org.opencontainers.image.ref.name="8.1.0-debian-11-r56" \
|
org.opencontainers.image.ref.name="8.1.0-debian-11-r57" \
|
||||||
org.opencontainers.image.title="jasperreports" \
|
org.opencontainers.image.title="jasperreports" \
|
||||||
org.opencontainers.image.vendor="VMware, Inc." \
|
org.opencontainers.image.vendor="VMware, Inc." \
|
||||||
org.opencontainers.image.version="8.1.0"
|
org.opencontainers.image.version="8.1.0"
|
||||||
@@ -24,7 +24,7 @@ RUN install_packages acl ca-certificates curl fontconfig git libaudit1 libbsd0 l
|
|||||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||||
COMPONENTS=( \
|
COMPONENTS=( \
|
||||||
"java-1.8.362-2-linux-${OS_ARCH}-debian-11" \
|
"java-1.8.362-2-linux-${OS_ARCH}-debian-11" \
|
||||||
"tomcat-9.0.71-9-linux-${OS_ARCH}-debian-11" \
|
"tomcat-9.0.71-10-linux-${OS_ARCH}-debian-11" \
|
||||||
"postgresql-client-11.19.0-1-linux-${OS_ARCH}-debian-11" \
|
"postgresql-client-11.19.0-1-linux-${OS_ARCH}-debian-11" \
|
||||||
"mysql-client-10.6.12-1-linux-${OS_ARCH}-debian-11" \
|
"mysql-client-10.6.12-1-linux-${OS_ARCH}-debian-11" \
|
||||||
"render-template-1.0.5-1-linux-${OS_ARCH}-debian-11" \
|
"render-template-1.0.5-1-linux-${OS_ARCH}-debian-11" \
|
||||||
|
|||||||
@@ -43,9 +43,9 @@
|
|||||||
},
|
},
|
||||||
"tomcat": {
|
"tomcat": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"digest": "d53438a13604643eb6b60dc705d15b7755a55c6d2263d30fc2593b4385d5e735",
|
"digest": "b18d0ba26399d240f644935d1b2c36ddb87f436e71320b66246bc6a3f8ee8784",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "9.0.71-9"
|
"version": "9.0.71-10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -305,6 +305,8 @@ generate_systemd_conf() {
|
|||||||
local exec_reload=""
|
local exec_reload=""
|
||||||
local restart="always"
|
local restart="always"
|
||||||
local pid_file=""
|
local pid_file=""
|
||||||
|
local standard_output="journal"
|
||||||
|
local standard_error=""
|
||||||
# Parse CLI flags
|
# Parse CLI flags
|
||||||
shift
|
shift
|
||||||
while [[ "$#" -gt 0 ]]; do
|
while [[ "$#" -gt 0 ]]; do
|
||||||
@@ -318,6 +320,8 @@ generate_systemd_conf() {
|
|||||||
| --exec-reload \
|
| --exec-reload \
|
||||||
| --restart \
|
| --restart \
|
||||||
| --pid-file \
|
| --pid-file \
|
||||||
|
| --standard-output \
|
||||||
|
| --standard-error \
|
||||||
)
|
)
|
||||||
var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
|
var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
|
||||||
shift
|
shift
|
||||||
@@ -362,36 +366,33 @@ ExecStart=${exec_start}
|
|||||||
EOF
|
EOF
|
||||||
# Optional stop and reload commands
|
# Optional stop and reload commands
|
||||||
if [[ -n "$exec_stop" ]]; then
|
if [[ -n "$exec_stop" ]]; then
|
||||||
cat >> "$service_file" <<EOF
|
cat >> "$service_file" <<< "ExecStop=${exec_stop}"
|
||||||
ExecStop=${exec_stop}
|
|
||||||
EOF
|
|
||||||
fi
|
fi
|
||||||
if [[ -n "$exec_reload" ]]; then
|
if [[ -n "$exec_reload" ]]; then
|
||||||
cat >> "$service_file" <<EOF
|
cat >> "$service_file" <<< "ExecReload=${exec_reload}"
|
||||||
ExecReload=${exec_reload}
|
|
||||||
EOF
|
|
||||||
fi
|
fi
|
||||||
# User and group
|
# User and group
|
||||||
if [[ -n "$user" ]]; then
|
if [[ -n "$user" ]]; then
|
||||||
cat >> "$service_file" <<EOF
|
cat >> "$service_file" <<< "User=${user}"
|
||||||
User=${user}
|
|
||||||
EOF
|
|
||||||
fi
|
fi
|
||||||
if [[ -n "$group" ]]; then
|
if [[ -n "$group" ]]; then
|
||||||
cat >> "$service_file" <<EOF
|
cat >> "$service_file" <<< "Group=${group}"
|
||||||
Group=${group}
|
|
||||||
EOF
|
|
||||||
fi
|
fi
|
||||||
# PID file allows to determine if the main process is running properly (for Restart=always)
|
# PID file allows to determine if the main process is running properly (for Restart=always)
|
||||||
if [[ -n "$pid_file" ]]; then
|
if [[ -n "$pid_file" ]]; then
|
||||||
cat >> "$service_file" <<EOF
|
cat >> "$service_file" <<< "PIDFile=${pid_file}"
|
||||||
PIDFile=${pid_file}
|
|
||||||
EOF
|
|
||||||
fi
|
fi
|
||||||
# Environment flags (may be specified multiple times in a unit)
|
# Environment flags (may be specified multiple times in a unit)
|
||||||
if [[ -n "$environment" ]]; then
|
if [[ -n "$environment" ]]; then
|
||||||
cat >> "$service_file" <<< "$environment"
|
cat >> "$service_file" <<< "$environment"
|
||||||
fi
|
fi
|
||||||
|
# Logging
|
||||||
|
if [[ -n "$standard_output" ]]; then
|
||||||
|
cat >> "$service_file" <<< "StandardOutput=${standard_output}"
|
||||||
|
fi
|
||||||
|
if [[ -n "$standard_error" ]]; then
|
||||||
|
cat >> "$service_file" <<< "StandardError=${standard_error}"
|
||||||
|
fi
|
||||||
cat >> "$service_file" <<EOF
|
cat >> "$service_file" <<EOF
|
||||||
Restart=${restart}
|
Restart=${restart}
|
||||||
# Optimizations
|
# Optimizations
|
||||||
@@ -400,8 +401,6 @@ IgnoreSIGPIPE=no
|
|||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
# Limits
|
# Limits
|
||||||
LimitNOFILE=infinity
|
LimitNOFILE=infinity
|
||||||
# Configure output to appear in instance console output
|
|
||||||
StandardOutput=journal+console
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
# Enabling/disabling the main bitnami service should cause the same effect for this service
|
# Enabling/disabling the main bitnami service should cause the same effect for this service
|
||||||
|
|||||||
Reference in New Issue
Block a user