8.8.1-debian-10-r32 release
This commit is contained in:
parent
2237520146
commit
f6ad7de800
|
|
@ -17,7 +17,7 @@ RUN chmod g+rwX /opt/bitnami
|
|||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/solr/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="solr" \
|
||||
BITNAMI_IMAGE_VERSION="8.8.1-debian-10-r31" \
|
||||
BITNAMI_IMAGE_VERSION="8.8.1-debian-10-r32" \
|
||||
PATH="/opt/bitnami/java/bin:/opt/bitnami/solr/bin:/opt/bitnami/common/bin:$PATH" \
|
||||
SOLR_CORE="" \
|
||||
SOLR_CORE_CONF_DIR="_default" \
|
||||
|
|
|
|||
|
|
@ -106,9 +106,9 @@ is_file_writable() {
|
|||
relativize() {
|
||||
local -r path="${1:?missing path}"
|
||||
local -r base="${2:?missing base}"
|
||||
pushd "$base" >/dev/null
|
||||
pushd "$base" >/dev/null || exit
|
||||
realpath -q --no-symlinks --relative-base="$base" "$path" | sed -e 's|^/$|.|' -e 's|^/||'
|
||||
popd >/dev/null
|
||||
popd >/dev/null || exit
|
||||
}
|
||||
|
||||
########################
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ persist_app() {
|
|||
warn "No files are configured to be persisted"
|
||||
return
|
||||
fi
|
||||
pushd "$install_dir" >/dev/null
|
||||
pushd "$install_dir" >/dev/null || exit
|
||||
local file_to_persist_relative file_to_persist_destination file_to_persist_destination_folder
|
||||
local -r tmp_file="/tmp/perms.acl"
|
||||
for file_to_persist in "${files_to_persist[@]}"; do
|
||||
|
|
@ -53,16 +53,16 @@ persist_app() {
|
|||
ensure_dir_exists "$file_to_persist_destination_folder"
|
||||
cp -Lr --preserve=links "$file_to_persist_relative" "$file_to_persist_destination_folder"
|
||||
# Restore permissions
|
||||
pushd "$persist_dir" >/dev/null
|
||||
pushd "$persist_dir" >/dev/null || exit
|
||||
if am_i_root; then
|
||||
setfacl --restore="$tmp_file"
|
||||
else
|
||||
# When running as non-root, don't change ownership
|
||||
setfacl --restore=<(grep -E -v '^# (owner|group):' "$tmp_file")
|
||||
fi
|
||||
popd >/dev/null
|
||||
popd >/dev/null || exit
|
||||
done
|
||||
popd >/dev/null
|
||||
popd >/dev/null || exit
|
||||
rm -f "$tmp_file"
|
||||
# Install the persisted files into the installation directory, via symlinks
|
||||
restore_persisted_app "$@"
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ solr_validate() {
|
|||
[[ -z "$SOLR_SSL_TRUST_STORE_PASSWORD" ]] && print_validation_error "You need to provide a password file in SOLR_SSL_TRUST_STORE_PASSWORD"
|
||||
fi
|
||||
|
||||
! is_yes_no_value "$SOLR_ENABLE_CLOUD_MODE" && print_validation_error "SOLR_ENABLE_CLOUD_MODE posible values are yes or no"
|
||||
! is_yes_no_value "$SOLR_ENABLE_CLOUD_MODE" && print_validation_error "SOLR_ENABLE_CLOUD_MODE possible values are yes or no"
|
||||
is_boolean_yes "$SOLR_ENABLE_CLOUD_MODE" && [[ -z "$SOLR_ZK_HOSTS" ]] && print_validation_error "You need to provide the Zookeper node list in SOLR_ZK_HOSTS"
|
||||
|
||||
! is_boolean_yes "$SOLR_CLOUD_BOOTSTRAP" && is_boolean_yes "$SOLR_ENABLE_CLOUD_MODE" && [[ -n "$SOLR_CORE" ]] && info "This node is not a boostrap node and will not create the collection"
|
||||
|
|
|
|||
|
|
@ -36,7 +36,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.8.1`, `8.8.1-debian-10-r31`, `latest` (8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-solr/blob/8.8.1-debian-10-r31/8/debian-10/Dockerfile)
|
||||
* [`8`, `8-debian-10`, `8.8.1`, `8.8.1-debian-10-r32`, `latest` (8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-solr/blob/8.8.1-debian-10-r32/8/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/solr GitHub repo](https://github.com/bitnami/bitnami-docker-solr).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue