library/flinkfile in the
There are additional steps required when a new Flink minor version (x.y.0) is released.
latesttag, so the
generate-stackbrew-library.shmust be updated
When a new release of Flink is available, the Dockerfiles in this repo should be updated and a new manifest sent to the Docker Library
Updating the Dockerfiles involves 3 steps:
add-version.shwith the GPG key ID of the key used to sign the new release
Add GPG key for x.y.z release[example]
rm -r 1.2, if the new Flink version is
add-version.shwith the appropriate arguments (
-r flink-minor-version -f flink-full-version)
./add-version.sh -r 1.2 -f 1.2.1
Update Dockerfiles for x.y.z release[example]
A pull request can then be opened on this repo with the changes.
Once the pull request has been merged, a new manifest should be generated and a pull request opened on the Docker Library
./generate-stackbrew-library.shto output the new manifest (see note below regarding usage of this script)
official-imagesrepo, overwrite the file
library/flinkwith the new manifest
Update to Flink x.y.z[example]
A pull request can then be opened on the
official-images repo with the new manifest. [example]
Once the pull request has been merged (often within 1 business day), the new images will be available shortly thereafter.
add-version.shand committed with the message
Add GPG key for x.y.z release
x.y/directories should be present)
./add-version.sh -r x.y -f x.y.zhas been run, and the updated Dockerfiles committed with the message
Update Dockerfiles for x.y.z release
generate-stackbrew-library.shhas been updated with
[x.y]='latest'and committed with the message
Update latest image tag to x.y
generate-stackbrew-library.shand a pull request opened on the
official-imagesrepo with commit message
Update to Flink x.y.z
generate-stackbrew-library.sh is used to generate the library manifest file required for official Docker Hub images.
When the Dockerfiles in this repo are updated, the output of this script should replace the contents of
library/flink in the Docker official-images repo via a pull request.
Note: Since this script requires the
bashbrew binary and a compatible version of Bash, the script
generate-stackbrew-library-docker.sh can be used to invoke the script in a Docker container with the necessary dependencies.
./generate-stackbrew-library-docker.sh > /path/to/official-images/library/flink
Licensed under the Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0
Apache Flink, Flink®, Apache®, the squirrel logo, and the Apache feather logo are either registered trademarks or trademarks of The Apache Software Foundation.