1.19.9-1-debian-10-r122 release
This commit is contained in:
parent
dacdb615fa
commit
fcdbe984cf
|
|
@ -16,7 +16,7 @@ RUN chmod g+rwX /opt/bitnami
|
|||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/openresty/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="openresty" \
|
||||
BITNAMI_IMAGE_VERSION="1.19.9-1-debian-10-r121" \
|
||||
BITNAMI_IMAGE_VERSION="1.19.9-1-debian-10-r122" \
|
||||
PATH="/opt/bitnami/openresty/bin:/opt/bitnami/openresty/luajit/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
EXPOSE 8080 8443
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,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/).
|
||||
|
||||
|
||||
* [`1.19`, `1.19-debian-10`, `1.19.9-1`, `1.19.9-1-debian-10-r121`, `latest` (1.19/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-openresty/blob/1.19.9-1-debian-10-r121/1.19/debian-10/Dockerfile)
|
||||
* [`1.19`, `1.19-debian-10`, `1.19.9-1`, `1.19.9-1-debian-10-r122`, `latest` (1.19/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-openresty/blob/1.19.9-1-debian-10-r122/1.19/debian-10/Dockerfile)
|
||||
|
||||
## Get this image
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue