mirror of
https://github.com/bitnami/containers.git
synced 2026-03-02 16:17:31 +08:00
0.13.1-debian-10-r251 release
This commit is contained in:
@@ -16,7 +16,7 @@ RUN chmod g+rwX /opt/bitnami
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/chartmuseum/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="chartmuseum" \
|
||||
BITNAMI_IMAGE_VERSION="0.13.1-debian-10-r250" \
|
||||
BITNAMI_IMAGE_VERSION="0.13.1-debian-10-r251" \
|
||||
PATH="/opt/bitnami/common/bin:/opt/bitnami/chartmuseum/bin:$PATH"
|
||||
|
||||
USER 1001
|
||||
|
||||
@@ -20,8 +20,13 @@
|
||||
owned_by() {
|
||||
local path="${1:?path is missing}"
|
||||
local owner="${2:?owner is missing}"
|
||||
local group="${3:-}"
|
||||
|
||||
chown "$owner":"$owner" "$path"
|
||||
if [[ -n $group ]]; then
|
||||
chown "$owner":"$group" "$path"
|
||||
else
|
||||
chown "$owner":"$owner" "$path"
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
@@ -34,11 +39,12 @@ owned_by() {
|
||||
#########################
|
||||
ensure_dir_exists() {
|
||||
local dir="${1:?directory is missing}"
|
||||
local owner="${2:-}"
|
||||
local owner_user="${2:-}"
|
||||
local owner_group="${3:-}"
|
||||
|
||||
mkdir -p "${dir}"
|
||||
if [[ -n $owner ]]; then
|
||||
owned_by "$dir" "$owner"
|
||||
if [[ -n $owner_user ]]; then
|
||||
owned_by "$dir" "$owner_user" "$owner_group"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,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/).
|
||||
|
||||
|
||||
* [`0`, `0-debian-10`, `0.13.1`, `0.13.1-debian-10-r250`, `latest` (0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-chartmuseum/blob/0.13.1-debian-10-r250/0/debian-10/Dockerfile)
|
||||
* [`0`, `0-debian-10`, `0.13.1`, `0.13.1-debian-10-r251`, `latest` (0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-chartmuseum/blob/0.13.1-debian-10-r251/0/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/chartmuseum GitHub repo](https://github.com/bitnami/bitnami-docker-chartmuseum).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user