mirror of
https://github.com/bitnami/containers.git
synced 2026-02-11 22:47:20 +08:00
[bitnami/flink] Release 1.18.0-debian-11-r4 (#55222)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -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="2023-12-24T08:21:26Z" \
|
||||
org.opencontainers.image.created="2024-01-20T06:43:40Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="1.18.0-debian-11-r3" \
|
||||
org.opencontainers.image.ref.name="1.18.0-debian-11-r4" \
|
||||
org.opencontainers.image.title="flink" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="1.18.0"
|
||||
@@ -27,7 +27,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
|
||||
RUN install_packages acl ca-certificates curl gettext libjemalloc2 procps zlib1g
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
|
||||
COMPONENTS=( \
|
||||
"java-11.0.21-10-6-linux-${OS_ARCH}-debian-11" \
|
||||
"java-11.0.22-12-0-linux-${OS_ARCH}-debian-11" \
|
||||
"flink-1.18.0-1-linux-${OS_ARCH}-debian-11" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
@@ -42,6 +42,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||
RUN chmod g+rwX /opt/bitnami
|
||||
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
|
||||
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/flink/postunpack.sh
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "11.0.21-10-6"
|
||||
"version": "11.0.22-12-0"
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@ fi
|
||||
|
||||
script=$1
|
||||
exit_code="${2:-96}"
|
||||
fail_if_not_present="${3:-y}"
|
||||
fail_if_not_present="${3:-n}"
|
||||
|
||||
if test -f "$script"; then
|
||||
sh $script
|
||||
|
||||
@@ -11,7 +11,7 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
docker run --name v bitnami/flink:latest
|
||||
docker run --name flink bitnami/flink:latest
|
||||
```
|
||||
|
||||
## Why use Bitnami Images?
|
||||
@@ -61,6 +61,37 @@ Non-root container images add an extra layer of security and are generally recom
|
||||
|
||||
## Configuration
|
||||
|
||||
### Environment variables
|
||||
|
||||
#### Customizable environment variables
|
||||
|
||||
| Name | Description | Default Value |
|
||||
|-------------------------------------------|--------------------------------------------------|---------------------------------------|
|
||||
| `FLINK_MODE` | Flink default mode. | `jobmanager` |
|
||||
| `FLINK_CFG_REST_PORT` | The port that the client connects to. | `8081` |
|
||||
| `FLINK_TASK_MANAGER_NUMBER_OF_TASK_SLOTS` | Number of task slots for taskmanager. | `$(grep -c ^processor /proc/cpuinfo)` |
|
||||
| `APACHE_FLINK_USERNAME` | Flink user to configure basic authentication | `user` |
|
||||
| `APACHE_FLINK_PASSWORD` | Flink password to configure basic authentication | `bitnami` |
|
||||
|
||||
#### Read-only environment variables
|
||||
|
||||
| Name | Description | Value |
|
||||
|------------------------------|-----------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|
|
||||
| `FLINK_BASE_DIR` | Flink installation directory. | `${BITNAMI_ROOT_DIR}/flink` |
|
||||
| `FLINK_BIN_DIR` | Flink installation directory. | `${FLINK_BASE_DIR}/bin` |
|
||||
| `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_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` |
|
||||
| `FLINK_DATA_TO_PERSIST` | Files to persist relative to the Flink installation directory. To provide multiple values, separate them with a whitespace. | `conf plugins` |
|
||||
| `FLINK_DAEMON_USER` | Flink daemon system user. | `flink` |
|
||||
| `FLINK_DAEMON_GROUP` | Flink daemon system group. | `flink` |
|
||||
| `FLINK_PID_DIR` | Default location for PID files | `${FLINK_BASE_DIR}/pid` |
|
||||
| `FLINK_JOBMANAGER_PID_FILE` | PID file for flink-jobmanager service. | `${FLINK_PID_DIR}/flink-jobmanager-standalonesession.pid` |
|
||||
| `FLINK_TASKMANAGER_PID_FILE` | PID file for flink-jobmanager service. | `${FLINK_PID_DIR}/flink-taskmanager-taskexecutor.pid` |
|
||||
|
||||
### Running commands
|
||||
|
||||
To run commands inside this container you can use `docker run`. The default endpoint runs a Flink JobManager instance (jobmanager mode), while you can use the environment variable FLINK_MODE for run the image in a different mode:
|
||||
@@ -80,6 +111,12 @@ $ Usage: FLINK_MODE=(jobmanager|standalone-job|taskmanager|history-server)
|
||||
|
||||
Check the [official Apache Flink documentation](https://flink.apache.org//docs) for more information.
|
||||
|
||||
## Using `docker-compose.yaml`
|
||||
|
||||
Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes. For production-ready deployments, we highly recommend utilizing its associated [Bitnami Helm chart](https://github.com/bitnami/charts/tree/main/bitnami/flink).
|
||||
|
||||
If you detect any issue in the `docker-compose.yaml` file, feel free to report it or contribute with a fix by following our [Contributing Guidelines](https://github.com/bitnami/containers/blob/main/CONTRIBUTING.md).
|
||||
|
||||
## Contributing
|
||||
|
||||
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.
|
||||
|
||||
Reference in New Issue
Block a user