mirror of
https://github.com/bitnami/containers.git
synced 2026-04-01 06:48:13 +08:00
[bitnami/gitea] Release 1.19.3-debian-11-r19 (#39185)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -6,10 +6,10 @@ FROM docker.io/bitnami/minideb:bullseye
|
|||||||
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-06-25T14:38:22Z" \
|
org.opencontainers.image.created="2023-06-28T15:13:42Z" \
|
||||||
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="1.19.3-debian-11-r18" \
|
org.opencontainers.image.ref.name="1.19.3-debian-11-r19" \
|
||||||
org.opencontainers.image.title="gitea" \
|
org.opencontainers.image.title="gitea" \
|
||||||
org.opencontainers.image.vendor="VMware, Inc." \
|
org.opencontainers.image.vendor="VMware, Inc." \
|
||||||
org.opencontainers.image.version="1.19.3"
|
org.opencontainers.image.version="1.19.3"
|
||||||
@@ -25,8 +25,8 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|||||||
RUN install_packages acl ca-certificates curl git procps
|
RUN install_packages acl ca-certificates curl git procps
|
||||||
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=( \
|
||||||
"wait-for-port-1.0.6-8-linux-${OS_ARCH}-debian-11" \
|
"wait-for-port-1.0.6-9-linux-${OS_ARCH}-debian-11" \
|
||||||
"render-template-1.0.5-6-linux-${OS_ARCH}-debian-11" \
|
"render-template-1.0.5-7-linux-${OS_ARCH}-debian-11" \
|
||||||
"ini-file-1.4.5-6-linux-${OS_ARCH}-debian-11" \
|
"ini-file-1.4.5-6-linux-${OS_ARCH}-debian-11" \
|
||||||
"gitea-1.19.3-3-linux-${OS_ARCH}-debian-11" \
|
"gitea-1.19.3-3-linux-${OS_ARCH}-debian-11" \
|
||||||
) && \
|
) && \
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
|
|
||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
postgresql:
|
postgresql:
|
||||||
|
|||||||
@@ -15,12 +15,12 @@
|
|||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "1.0.5-6"
|
"version": "1.0.5-7"
|
||||||
},
|
},
|
||||||
"wait-for-port": {
|
"wait-for-port": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "1.0.6-8"
|
"version": "1.0.6-9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Bitnami custom library
|
# Bitnami custom library
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Library for managing files
|
# Library for managing files
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Library for file system actions
|
# Library for file system actions
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Library to use for scripts expected to be used as Kubernetes lifecycle hooks
|
# Library to use for scripts expected to be used as Kubernetes lifecycle hooks
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Library for logging functions
|
# Library for logging functions
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Library for network functions
|
# Library for network functions
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Library for operating system actions
|
# Library for operating system actions
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Bitnami persistence library
|
# Bitnami persistence library
|
||||||
# Used for bringing persistence capabilities to applications that don't have clear separation of data and logic
|
# Used for bringing persistence capabilities to applications that don't have clear separation of data and logic
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Library for managing services
|
# Library for managing services
|
||||||
|
|
||||||
@@ -104,8 +106,6 @@ generate_cron_conf() {
|
|||||||
local schedule="* * * * *"
|
local schedule="* * * * *"
|
||||||
local clean="true"
|
local clean="true"
|
||||||
|
|
||||||
local clean="true"
|
|
||||||
|
|
||||||
# Parse optional CLI flags
|
# Parse optional CLI flags
|
||||||
shift 2
|
shift 2
|
||||||
while [[ "$#" -gt 0 ]]; do
|
while [[ "$#" -gt 0 ]]; do
|
||||||
@@ -131,7 +131,12 @@ generate_cron_conf() {
|
|||||||
|
|
||||||
mkdir -p /etc/cron.d
|
mkdir -p /etc/cron.d
|
||||||
if "$clean"; then
|
if "$clean"; then
|
||||||
echo "${schedule} ${run_as} ${cmd}" > /etc/cron.d/"$service_name"
|
cat > "/etc/cron.d/${service_name}" <<EOF
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
|
|
||||||
|
${schedule} ${run_as} ${cmd}
|
||||||
|
EOF
|
||||||
else
|
else
|
||||||
echo "${schedule} ${run_as} ${cmd}" >> /etc/cron.d/"$service_name"
|
echo "${schedule} ${run_as} ${cmd}" >> /etc/cron.d/"$service_name"
|
||||||
fi
|
fi
|
||||||
@@ -187,7 +192,10 @@ generate_monit_conf() {
|
|||||||
|
|
||||||
is_boolean_yes "$disabled" && conf_suffix=".disabled"
|
is_boolean_yes "$disabled" && conf_suffix=".disabled"
|
||||||
mkdir -p "$monit_conf_dir"
|
mkdir -p "$monit_conf_dir"
|
||||||
cat >"${monit_conf_dir}/${service_name}.conf${conf_suffix:-}" <<EOF
|
cat > "${monit_conf_dir}/${service_name}.conf${conf_suffix:-}" <<EOF
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
|
|
||||||
check process ${service_name}
|
check process ${service_name}
|
||||||
with pidfile "${pid_file}"
|
with pidfile "${pid_file}"
|
||||||
start program = "${start_command}" with timeout 90 seconds
|
start program = "${start_command}" with timeout 90 seconds
|
||||||
@@ -246,7 +254,10 @@ generate_logrotate_conf() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
mkdir -p "$logrotate_conf_dir"
|
mkdir -p "$logrotate_conf_dir"
|
||||||
cat <<EOF | sed '/^\s*$/d' >"${logrotate_conf_dir}/${service_name}"
|
cat <<EOF | sed '/^\s*$/d' > "${logrotate_conf_dir}/${service_name}"
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
|
|
||||||
${log_path} {
|
${log_path} {
|
||||||
${period}
|
${period}
|
||||||
rotate ${rotations}
|
rotate ${rotations}
|
||||||
@@ -391,6 +402,9 @@ generate_systemd_conf() {
|
|||||||
fi
|
fi
|
||||||
# Generate the Systemd unit
|
# Generate the Systemd unit
|
||||||
cat > "$service_file" <<EOF
|
cat > "$service_file" <<EOF
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Bitnami service for ${name}
|
Description=Bitnami service for ${name}
|
||||||
# Starting/stopping the main bitnami service should cause the same effect for this service
|
# Starting/stopping the main bitnami service should cause the same effect for this service
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Validation functions library
|
# Validation functions library
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Library for managing versions strings
|
# Library for managing versions strings
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Bitnami web server handler library
|
# Bitnami web server handler library
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
n=0
|
n=0
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Environment configuration for gitea
|
# Environment configuration for gitea
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
|
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
|
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
|
|
||||||
# shellcheck disable=SC1090,SC1091
|
# shellcheck disable=SC1090,SC1091
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
|
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
#
|
#
|
||||||
# Bitnami Gitea library
|
# Bitnami Gitea library
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
# Copyright VMware, Inc.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
|
|
||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
postgresql:
|
postgresql:
|
||||||
|
|||||||
Reference in New Issue
Block a user