[bitnami/kong] Release 3.2.2-debian-11-r1 (#28547)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
parent
4b516d15bd
commit
b471e2003e
|
|
@ -3,10 +3,10 @@ FROM docker.io/bitnami/minideb:bullseye
|
|||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||
org.opencontainers.image.created="2023-03-22T01:18:37Z" \
|
||||
org.opencontainers.image.created="2023-03-28T04:06:49Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="3.2.2-debian-11-r0" \
|
||||
org.opencontainers.image.ref.name="3.2.2-debian-11-r1" \
|
||||
org.opencontainers.image.title="kong" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="3.2.2"
|
||||
|
|
|
|||
|
|
@ -1,21 +1,18 @@
|
|||
{
|
||||
"gosu": {
|
||||
"arch": "amd64",
|
||||
"digest": "bf2b90a31df691e3648c4a41190a926bb638c3a9fa1dfcde36623ce1bfaadc23",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.16.0-3"
|
||||
},
|
||||
"kong": {
|
||||
"arch": "amd64",
|
||||
"digest": "359dde053227350ee9933c22cb3423089932fd7c75995143a752ff97eac4a91c",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "3.2.2-0"
|
||||
},
|
||||
"render-template": {
|
||||
"arch": "amd64",
|
||||
"digest": "d1a128e25098f793a92342efd5fa85c1075a2b21042929b269d23c6694e20c3b",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.0.5-2"
|
||||
|
|
|
|||
|
|
@ -395,7 +395,7 @@ PartOf=bitnami.service
|
|||
Type=${type}
|
||||
EOF
|
||||
if [[ -n "$working_directory" ]]; then
|
||||
cat >> "$service_file" <<< "WorkingDirectory=$working_directory"
|
||||
cat >> "$service_file" <<< "WorkingDirectory=${working_directory}"
|
||||
fi
|
||||
if [[ -n "$exec_start_pre" ]]; then
|
||||
# This variable may contain multiple ExecStartPre= directives
|
||||
|
|
|
|||
|
|
@ -112,7 +112,11 @@ is_web_server_running() {
|
|||
#########################
|
||||
web_server_start() {
|
||||
info "Starting $(web_server_type) in background"
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/start.sh"
|
||||
if [[ "$BITNAMI_SERVICE_MANAGER" = "monit" ]]; then
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/start.sh"
|
||||
elif [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
|
||||
systemctl start "bitnami.$(web_server_type).service"
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
|
|
@ -126,7 +130,11 @@ web_server_start() {
|
|||
#########################
|
||||
web_server_stop() {
|
||||
info "Stopping $(web_server_type)"
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/stop.sh"
|
||||
if [[ "$BITNAMI_SERVICE_MANAGER" = "monit" ]]; then
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/stop.sh"
|
||||
elif [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
|
||||
systemctl stop "bitnami.$(web_server_type).service"
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
|
|
@ -140,7 +148,11 @@ web_server_stop() {
|
|||
#########################
|
||||
web_server_restart() {
|
||||
info "Restarting $(web_server_type)"
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/restart.sh"
|
||||
if [[ "$BITNAMI_SERVICE_MANAGER" = "monit" ]]; then
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/restart.sh"
|
||||
elif [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
|
||||
systemctl restart "bitnami.$(web_server_type).service"
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
|
|
@ -153,7 +165,11 @@ web_server_restart() {
|
|||
# None
|
||||
#########################
|
||||
web_server_reload() {
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/reload.sh"
|
||||
if [[ "$BITNAMI_SERVICE_MANAGER" = "monit" ]]; then
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/reload.sh"
|
||||
elif [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
|
||||
systemctl reload "bitnami.$(web_server_type).service"
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ export KONG_DEFAULT_CONF_FILE="${KONG_CONF_DIR}/kong.conf.default"
|
|||
export KONG_INITSCRIPTS_DIR="/docker-entrypoint-initdb.d"
|
||||
export KONG_SERVER_DIR="${KONG_BASE_DIR}/server"
|
||||
export KONG_LOGS_DIR="${KONG_SERVER_DIR}/logs"
|
||||
export PATH="${KONG_BASE_DIR}/bin:${KONG_BASE_DIR}/openresty/bin:${KONG_BASE_DIR}/luarocks/bin:${PATH}"
|
||||
export PATH="${KONG_BASE_DIR}/bin:${KONG_BASE_DIR}/openresty/bin:${KONG_BASE_DIR}/openresty/nginx/sbin:${KONG_BASE_DIR}/luarocks/bin:${PATH}"
|
||||
|
||||
# System users (when running with a privileged user)
|
||||
export KONG_DAEMON_USER="kong"
|
||||
|
|
|
|||
Loading…
Reference in New Issue