mirror of
https://github.com/bitnami/containers.git
synced 2026-03-11 16:07:50 +08:00
2.7.1-debian-10-r64 release
This commit is contained in:
@@ -17,7 +17,7 @@ RUN mkdir /.m2 && chmod -R g+rwX /.m2
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="spring-cloud-dataflow-composed-task-runner" \
|
||||
BITNAMI_IMAGE_VERSION="2.7.1-debian-10-r63" \
|
||||
BITNAMI_IMAGE_VERSION="2.7.1-debian-10-r64" \
|
||||
PATH="/opt/bitnami/java/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
USER 1001
|
||||
|
||||
@@ -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 "$@"
|
||||
|
||||
@@ -28,7 +28,7 @@ $ docker run --name spring-cloud-dataflow-composed-task-runner bitnami/spring-cl
|
||||
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/).
|
||||
|
||||
|
||||
* [`2`, `2-debian-10`, `2.7.1`, `2.7.1-debian-10-r63`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-spring-cloud-dataflow-composed-task-runner/blob/2.7.1-debian-10-r63/2/debian-10/Dockerfile)
|
||||
* [`2`, `2-debian-10`, `2.7.1`, `2.7.1-debian-10-r64`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-spring-cloud-dataflow-composed-task-runner/blob/2.7.1-debian-10-r64/2/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/spring-cloud-dataflow-composed-task-runner GitHub repo](https://github.com/bitnami/bitnami-docker-spring-cloud-dataflow-composed-task-runner).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user