[bitnami/flink] Release 1.18.1-debian-11-r23 (#62093)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-02-19 14:54:25 +01:00
committed by GitHub
parent ad343de5c1
commit 75571c02fa
5 changed files with 15 additions and 2 deletions

View File

@@ -8,10 +8,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2024-02-16T08:22:54Z" \
org.opencontainers.image.created="2024-02-19T12:35:08Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="1.18.1-debian-11-r22" \
org.opencontainers.image.ref.name="1.18.1-debian-11-r23" \
org.opencontainers.image.title="flink" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="1.18.1"

View File

@@ -48,6 +48,7 @@ export FLINK_BIN_DIR="${FLINK_BASE_DIR}/bin"
export FLINK_WORK_DIR="${FLINK_BASE_DIR}"
export FLINK_LOG_DIR="${FLINK_BASE_DIR}/log"
export FLINK_CONF_DIR="${FLINK_BASE_DIR}/conf"
export FLINK_DEFAULT_CONF_DIR="${FLINK_BASE_DIR}/conf.default"
export FLINK_CONF_FILE="flink-conf.yaml"
export FLINK_CONF_FILE_PATH="${FLINK_CONF_DIR}/${FLINK_CONF_FILE}"
export FLINK_MODE="${FLINK_MODE:-jobmanager}"

View File

@@ -18,6 +18,12 @@ set -o pipefail
print_welcome_page
# We add the copy from default config in the entrypoint to not break users
# bypassing the setup.sh logic. If the file already exists do not overwrite (in
# case someone mounts a configuration file in /opt/bitnami/flink/conf)
debug "Copying files from $FLINK_DEFAULT_CONF_DIR to $FLINK_CONF_DIR"
cp -nfr "$FLINK_DEFAULT_CONF_DIR"/. "$FLINK_CONF_DIR"
if [[ "$1" = "/opt/bitnami/scripts/flink/run.sh" ]]; then
info "** Starting Apache Flink ${FLINK_MODE} setup **"
/opt/bitnami/scripts/flink/setup.sh

View File

@@ -21,6 +21,7 @@ set -o pipefail
dirs=(
"${FLINK_WORK_DIR}"
"${FLINK_CONF_DIR}"
"${FLINK_DEFAULT_CONF_DIR}"
"${FLINK_VOLUME_DIR}"
)
@@ -35,3 +36,7 @@ done
# Set up execution permissions for /bin folder
ensure_dir_exists "${FLINK_WORK_DIR}/bin"
configure_permissions_ownership "${FLINK_WORK_DIR}/bin" -d "775" -f "775"
# Copy all initially generated configuration files to the default directory
# (this is to avoid breaking when entrypoint is being overridden)
cp -r "${FLINK_CONF_DIR}/"* "$FLINK_DEFAULT_CONF_DIR"

View File

@@ -82,6 +82,7 @@ Non-root container images add an extra layer of security and are generally recom
| `FLINK_WORK_DIR` | Flink installation directory. | `${FLINK_BASE_DIR}` |
| `FLINK_LOG_DIR` | Flink log directory. | `${FLINK_BASE_DIR}/log` |
| `FLINK_CONF_DIR` | Flink configuration directory. | `${FLINK_BASE_DIR}/conf` |
| `FLINK_DEFAULT_CONF_DIR` | Flink configuration directory. | `${FLINK_BASE_DIR}/conf.default` |
| `FLINK_CONF_FILE` | Flink configuration file name. | `flink-conf.yaml` |
| `FLINK_CONF_FILE_PATH` | Flink configuration file path. | `${FLINK_CONF_DIR}/${FLINK_CONF_FILE}` |
| `FLINK_VOLUME_DIR` | Flink directory for mounted configuration files. | `${BITNAMI_VOLUME_DIR}/flink` |