2022.4.29-debian-10-r0 release
This commit is contained in:
parent
4145d84373
commit
b866963be0
|
|
@ -11,7 +11,7 @@ COPY prebuildfs /
|
|||
RUN install_packages acl ca-certificates curl gzip jq libc6 procps tar
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.1-10" --checksum 35c818ba3f4b5aae905959bc7d3a5e81fc63786e3c662b604612c0aa7fcda8fd
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "minio-client" "2022.4.26-0" --checksum c8da700c8e51e6d22d291e02dc565d72abe93c41f8d541c8140e0738337ab1f0
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "minio" "2022.4.26-0" --checksum a3f71486d46499f2fff096c9d971e4ff2e3e00b522855aae4eaf5e518c355fd7
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "minio" "2022.4.29-0" --checksum cb41cbc0267bddae9c036035564cb9a91330aab906a6180ac2377ed8f074e8e3
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
|
|
@ -20,7 +20,7 @@ RUN chmod g+rwX /opt/bitnami
|
|||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/minio-client/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/minio/postunpack.sh
|
||||
ENV APP_VERSION="2022.4.26" \
|
||||
ENV APP_VERSION="2022.4.29" \
|
||||
BITNAMI_APP_NAME="minio" \
|
||||
PATH="/opt/bitnami/common/bin:/opt/bitnami/minio-client/bin:/opt/bitnami/minio/bin:$PATH"
|
||||
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@
|
|||
},
|
||||
"minio": {
|
||||
"arch": "amd64",
|
||||
"digest": "a3f71486d46499f2fff096c9d971e4ff2e3e00b522855aae4eaf5e518c355fd7",
|
||||
"digest": "cb41cbc0267bddae9c036035564cb9a91330aab906a6180ac2377ed8f074e8e3",
|
||||
"distro": "debian-10",
|
||||
"type": "NAMI",
|
||||
"version": "2022.4.26-0"
|
||||
"version": "2022.4.29-0"
|
||||
},
|
||||
"minio-client": {
|
||||
"arch": "amd64",
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ minio_start_bg() {
|
|||
|
||||
is_minio_running && return
|
||||
info "Starting MinIO in background..."
|
||||
if [[ "${BITNAMI_DEBUG:-false}" = true ]]; then
|
||||
if is_boolean_yes "${BITNAMI_DEBUG}"; then
|
||||
"${exec}" "${args[@]}" &
|
||||
else
|
||||
"${exec}" "${args[@]}" >/dev/null 2>&1 &
|
||||
|
|
@ -247,6 +247,14 @@ minio_validate() {
|
|||
print_validation_error "The HTTP log file specified at the environment variable MINIO_HTTP_TRACE is not writtable by current user \"$(id -u)\""
|
||||
fi
|
||||
fi
|
||||
shopt -s nocasematch
|
||||
if ! is_dir_empty "${MINIO_CERTS_DIR}" && [[ "${MINIO_SCHEME}" == "http" ]] && [[ "${MINIO_SERVER_URL}" == "http://"* ]]; then
|
||||
warn "Certificates provided but 'http' scheme in use. Please set MINIO_SCHEME and/or MINIO_SERVER_URL variables"
|
||||
fi
|
||||
if [[ "${MINIO_SCHEME}" != "http" ]] && [[ "${MINIO_SCHEME}" != "https" ]]; then
|
||||
print_validation_error "The values allowed for MINIO_SCHEME are only [http, https]"
|
||||
fi
|
||||
shopt -u nocasematch
|
||||
|
||||
check_yes_no_value MINIO_SKIP_CLIENT
|
||||
check_yes_no_value MINIO_DISTRIBUTED_MODE_ENABLED
|
||||
|
|
@ -254,7 +262,7 @@ minio_validate() {
|
|||
check_allowed_port MINIO_CONSOLE_PORT_NUMBER
|
||||
check_allowed_port MINIO_API_PORT_NUMBER
|
||||
|
||||
[[ "$error_code" -eq 0 ]] || exit "$error_code"
|
||||
return "$error_code"
|
||||
}
|
||||
|
||||
########################
|
||||
|
|
|
|||
|
|
@ -14,10 +14,12 @@ set -o pipefail
|
|||
# Load MinIO environment
|
||||
. /opt/bitnami/scripts/minio-env.sh
|
||||
|
||||
MINIO_SERVER_SCHEME=$(echo "$MINIO_SCHEME" | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
export MINIO_SERVER_PORT_NUMBER="$MINIO_API_PORT_NUMBER"
|
||||
export MINIO_SERVER_SCHEME="$MINIO_SCHEME"
|
||||
export MINIO_SERVER_ROOT_USER="${MINIO_ROOT_USER:-}"
|
||||
export MINIO_SERVER_ROOT_PASSWORD="${MINIO_ROOT_PASSWORD:-}"
|
||||
export MINIO_SERVER_SCHEME
|
||||
|
||||
# Load MinIO Client environment
|
||||
. /opt/bitnami/scripts/minio-client-env.sh
|
||||
|
|
@ -31,9 +33,9 @@ minio_regenerate_keys
|
|||
if is_boolean_yes "$MINIO_SKIP_CLIENT"; then
|
||||
debug "Skipping MinIO client configuration..."
|
||||
else
|
||||
if [[ "$MINIO_SERVER_SCHEME" = "https" ]]; then
|
||||
[[ ! -d "${MINIO_CLIENT_CONF_DIR}/certs/CAs" ]] && mkdir -p "${MINIO_CLIENT_CONF_DIR}/certs/CAs"
|
||||
cp "${MINIO_CERTS_DIR}/CAs/public.crt" "${MINIO_CLIENT_CONF_DIR}/certs/CAs/"
|
||||
if [[ "$MINIO_SERVER_SCHEME" == "https" ]]; then
|
||||
[[ ! -d "${MINIO_CLIENT_CONF_DIR}/certs" ]] && mkdir -p "${MINIO_CLIENT_CONF_DIR}/certs"
|
||||
[[ -d "${MINIO_CERTS_DIR}/CAs" ]] && cp -r "${MINIO_CERTS_DIR}/CAs" "${MINIO_CLIENT_CONF_DIR}/certs"
|
||||
fi
|
||||
# Start MinIO server in background
|
||||
minio_start_bg
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ Non-root container images add an extra layer of security and are generally recom
|
|||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`2022`, `2022-debian-10`, `2022.4.26`, `2022.4.26-debian-10-r2`, `latest` (2022/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-minio/blob/2022.4.26-debian-10-r2/2022/debian-10/Dockerfile)
|
||||
* [`2022`, `2022-debian-10`, `2022.4.29`, `2022.4.29-debian-10-r0`, `latest` (2022/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-minio/blob/2022.4.29-debian-10-r0/2022/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/minio GitHub repo](https://github.com/bitnami/bitnami-docker-minio).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue