2.5.2-debian-10-r5 release

This commit is contained in:
Bitnami Bot 2020-06-30 07:18:41 +00:00
parent e7ec4234b3
commit d432ea5b78
5 changed files with 13 additions and 6 deletions

View File

@ -19,7 +19,7 @@ RUN apt-get update && apt-get upgrade -y && \
COPY rootfs /
RUN /opt/bitnami/scripts/spring-cloud-dataflow/postunpack.sh
ENV BITNAMI_APP_NAME="spring-cloud-dataflow" \
BITNAMI_IMAGE_VERSION="2.5.2-debian-10-r4" \
BITNAMI_IMAGE_VERSION="2.5.2-debian-10-r5" \
PATH="/opt/bitnami/java/bin:/opt/bitnami/common/bin:$PATH"
USER 1001

View File

@ -106,7 +106,7 @@ is_file_writable() {
relativize() {
local -r path="${1:?missing path}"
local -r base="${2:?missing base}"
pushd / >/dev/null
pushd "$base" >/dev/null
realpath -q --no-symlinks --relative-base="$base" "$path" | sed -e 's|^/$|.|' -e 's|^/||'
popd >/dev/null
}

View File

@ -39,6 +39,10 @@ persist_app() {
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
if [[ ! -f "$file_to_persist" && ! -d "$file_to_persist" ]]; then
error "Cannot persist '${file_to_persist}' because it does not exist"
return 1
fi
file_to_persist_relative="$(relativize "$file_to_persist" "$install_dir")"
file_to_persist_destination="${persist_dir}/${file_to_persist_relative}"
file_to_persist_destination_folder="$(dirname "$file_to_persist_destination")"

View File

@ -27,6 +27,7 @@ spring_cloud_dataflow_env_vars=(
SPRING_CLOUD_DATAFLOW_FEATURES_TASKS_ENABLED
SPRING_CLOUD_DATAFLOW_FEATURES_SCHEDULES_ENABLED
SPRING_CLOUD_SKIPPER_CLIENT_SERVER_URI
JAVA_OPTS
)
for env_var in "${spring_cloud_dataflow_env_vars[@]}"; do
@ -49,9 +50,6 @@ export SPRING_CLOUD_DATAFLOW_M2_DIR="/.m2"
export SPRING_CLOUD_DATAFLOW_DAEMON_USER="dataflow"
export SPRING_CLOUD_DATAFLOW_DAEMON_GROUP="dataflow"
# Java settings
export JAVA_OPTS="${JAVA_OPTS:-}"
# Dataflow settings
export SERVER_PORT="${SERVER_PORT:-}"
export SPRING_CLOUD_CONFIG_ENABLED="${SPRING_CLOUD_CONFIG_ENABLED:-false}"
@ -63,4 +61,7 @@ export SPRING_CLOUD_DATAFLOW_FEATURES_TASKS_ENABLED="${SPRING_CLOUD_DATAFLOW_FEA
export SPRING_CLOUD_DATAFLOW_FEATURES_SCHEDULES_ENABLED="${SPRING_CLOUD_DATAFLOW_FEATURES_SCHEDULES_ENABLED:-false}"
export SPRING_CLOUD_SKIPPER_CLIENT_SERVER_URI="${SPRING_CLOUD_SKIPPER_CLIENT_SERVER_URI:-}"
# Java settings
export JAVA_OPTS="${JAVA_OPTS:-}"
# Custom environment variables may be defined below

View File

@ -39,7 +39,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/).
* [`2-debian-10`, `2.5.2-debian-10-r4`, `2`, `2.5.2`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-spring-cloud-dataflow/blob/2.5.2-debian-10-r4/2/debian-10/Dockerfile)
* [`2-debian-10`, `2.5.2-debian-10-r5`, `2`, `2.5.2`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-spring-cloud-dataflow/blob/2.5.2-debian-10-r5/2/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/spring-cloud-dataflow GitHub repo](https://github.com/bitnami/bitnami-docker-spring-cloud-dataflow).
@ -87,6 +87,8 @@ Spring Cloud Data Flow Server offers specific set of features that can be enable
- SPRING_CLOUD_DATAFLOW_FEATURES_STREAMS_ENABLED=true. If you enable streams, you will need to configure the stream platform, see [Configuring stream platform](#configuringstreamplatform).
- SPRING_CLOUD_DATAFLOW_FEATURES_TASKS_ENABLED=true
In the same way, you might need to customize the JVM. Use the `JAVA_OPTS` environment variable for this purpose.
## Configuring stream platform
In order to deploy streams using data flow you will require [Spring Cloud Skipper](https://github.com/bitnami/bitnami-docker-spring-cloud-skipper) and one of the following messaging platforms. Please add the following environment variable to point to a different skipper endpoint.