mirror of
https://github.com/bitnami/containers.git
synced 2026-03-07 01:07:20 +08:00
8.11.0-debian-10-r21 release
This commit is contained in:
@@ -20,7 +20,7 @@ COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/java/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/solr/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="solr" \
|
||||
BITNAMI_IMAGE_VERSION="8.11.0-debian-10-r20" \
|
||||
BITNAMI_IMAGE_VERSION="8.11.0-debian-10-r21" \
|
||||
JAVA_HOME="/opt/bitnami/java" \
|
||||
PATH="/opt/bitnami/java/bin:/opt/bitnami/solr/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
|
||||
@@ -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 @@ You can find the available configuration options in the [Environment Variables](
|
||||
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/).
|
||||
|
||||
|
||||
* [`8`, `8-debian-10`, `8.11.0`, `8.11.0-debian-10-r20`, `latest` (8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-solr/blob/8.11.0-debian-10-r20/8/debian-10/Dockerfile)
|
||||
* [`8`, `8-debian-10`, `8.11.0`, `8.11.0-debian-10-r21`, `latest` (8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-solr/blob/8.11.0-debian-10-r21/8/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/solr GitHub repo](https://github.com/bitnami/bitnami-docker-solr).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user