mirror of
https://github.com/bitnami/containers.git
synced 2026-03-27 07:17:59 +08:00
2019.5.23-ol-7-r0 release
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM bitnami/oraclelinux-extras-base:7-r291
|
||||
FROM bitnami/oraclelinux-extras-base:7-r296
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
@@ -9,13 +9,13 @@ ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates jq
|
||||
RUN . ./libcomponent.sh && component_unpack "minio-client" "2019.5.1-0" --checksum ea1b558377f470c1387ea93862fa23b5adf037fa489d532a47421729a7307161
|
||||
RUN . ./libcomponent.sh && component_unpack "minio" "2019.5.14-0" --checksum 07f723455f06669fe1a91ce37c670159f222429548076ea75401b7ebfc4b0e17
|
||||
RUN . ./libcomponent.sh && component_unpack "minio-client" "2019.5.23-0" --checksum 854cc72c4a800fad5e899bc02e83e05d11f116b0cd3342d049db0dcab742603f
|
||||
RUN . ./libcomponent.sh && component_unpack "minio" "2019.5.23-0" --checksum 52ad7ed82988f353a2deeb04719000d626ce9e246dcd2c8bf8d64a25307f9f9f
|
||||
|
||||
COPY rootfs /
|
||||
RUN /postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="minio" \
|
||||
BITNAMI_IMAGE_VERSION="2019.5.14-ol-7-r8" \
|
||||
BITNAMI_IMAGE_VERSION="2019.5.23-ol-7-r0" \
|
||||
NAMI_PREFIX="/.nami" \
|
||||
PATH="/opt/bitnami/minio-client/bin:/opt/bitnami/minio/bin:$PATH"
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ is_minio_running() {
|
||||
if ! is_service_running "$MINIO_PID"; then
|
||||
false
|
||||
else
|
||||
status="$(minio_client_execute admin service status local --json | jq -r .service)"
|
||||
status="$(minio_client_execute_timeout admin service status local --json | jq -r .service)"
|
||||
if [[ "$status" = "on" ]]; then
|
||||
true
|
||||
else
|
||||
@@ -128,7 +128,8 @@ minio_start_bg() {
|
||||
minio_stop() {
|
||||
! is_minio_running && return
|
||||
info "Stopping MinIO..."
|
||||
minio_client_execute admin service stop local
|
||||
minio_client_execute admin service stop local || true
|
||||
|
||||
local counter=5
|
||||
while is_minio_running ; do
|
||||
if [[ "$counter" -ne 0 ]]; then
|
||||
|
||||
@@ -28,7 +28,6 @@ EOF
|
||||
########################
|
||||
# Execute an arbitrary MinIO client command
|
||||
# Globals:
|
||||
# BITNAMI_DEBUG
|
||||
# MINIO_CLIENT_CONFIGDIR
|
||||
# Arguments:
|
||||
# $@ - Command to execute
|
||||
@@ -42,6 +41,22 @@ minio_client_execute() {
|
||||
"${exec}" "${args[@]}"
|
||||
}
|
||||
|
||||
########################
|
||||
# Execute an arbitrary MinIO client command with a 2s timeout
|
||||
# Globals:
|
||||
# MINIO_CLIENT_CONFIGDIR
|
||||
# Arguments:
|
||||
# $@ - Command to execute
|
||||
# Returns:
|
||||
# None
|
||||
minio_client_execute_timeout() {
|
||||
local args=("--config-dir" "${MINIO_CLIENT_CONFIGDIR}" "--quiet" "$@")
|
||||
local exec
|
||||
exec=$(command -v mc)
|
||||
|
||||
timeout 2s "${exec}" "${args[@]}"
|
||||
}
|
||||
|
||||
########################
|
||||
# Configure MinIO Client to use a MinIO server
|
||||
# Globals:
|
||||
|
||||
@@ -23,6 +23,7 @@ $ docker-compose up -d
|
||||
* With Bitnami images the latest bug fixes and features are available as soon as possible.
|
||||
* Bitnami containers, virtual machines and cloud images use the same components and configuration approach - making it easy to switch between formats based on your project needs.
|
||||
* All our images are based on [minideb](https://github.com/bitnami/minideb) a minimalist Debian based container image which gives you a small base container image and the familiarity of a leading linux distribution.
|
||||
* All Bitnami images available in Docker Hub are signed with [Docker Content Trust (DTC)](https://docs.docker.com/engine/security/trust/content_trust/). You can use `DOCKER_CONTENT_TRUST=1` to verify the integrity of the images.
|
||||
* Bitnami container images are released daily with the latest distribution packages available.
|
||||
|
||||
> This [CVE scan report](https://quay.io/repository/bitnami/minio?tab=tags) contains a security report with all open CVEs. To get the list of actionable security issues, find the "latest" tag, click the vulnerability report link under the corresponding "Security scan" field and then select the "Only show fixable" filter on the next page.
|
||||
@@ -42,8 +43,8 @@ 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/containers/how-to/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`2019-ol-7`, `2019.5.14-ol-7-r8` (2019/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-minio/blob/2019.5.14-ol-7-r8/2019/ol-7/Dockerfile)
|
||||
* [`2019-debian-9`, `2019.5.14-debian-9-r5`, `2019`, `2019.5.14`, `2019.5.14-r5`, `latest` (2019/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-minio/blob/2019.5.14-debian-9-r5/2019/debian-9/Dockerfile)
|
||||
* [`2019-ol-7`, `2019.5.23-ol-7-r0` (2019/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-minio/blob/2019.5.23-ol-7-r0/2019/ol-7/Dockerfile)
|
||||
* [`2019-debian-9`, `2019.5.23-debian-9-r0`, `2019`, `2019.5.23`, `2019.5.23-r0`, `latest` (2019/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-minio/blob/2019.5.23-debian-9-r0/2019/debian-9/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/minio GitHub repo](https://github.com/bitnami/bitnami-docker-minio).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user