Docker packaging for Apache Flink Stateful Functions

Clone this repo:

Branches

  1. 01b7318 [release] Update Dockerfiles for 3.3.0 release by Martijn Visser · 1 year, 2 months ago master
  2. 2537b79 [release] Add GPG key for 3.3.0 release by Martijn Visser · 1 year, 2 months ago
  3. 75e345c [release] Update Dockerfiles for 3.2.0 release by Till Rohrmann · 2 years, 10 months ago
  4. cd75bb0 [hotfix] Let add-version.sh use fixed strings to avoid mismatches by Till Rohrmann · 2 years, 10 months ago
  5. e3adbc6 [release] Add GPG key for 3.2.0 release by Till Rohrmann · 2 years, 10 months ago

Apache Flink Stateful Functions Docker Images

This repo contains Dockerfiles for building Docker images for Apache Flink Stateful Functions.

These Dockerfiles are maintained by the Apache Flink community.

Workflow for new releases

Release workflow

When a new release of Flink Stateful Functions is available, the Dockerfiles in this repo should be updated.

Updating the Dockerfiles involves 2 steps:

  1. Add the GPG key ID of the key used to sign the new release to the gpg_keys.txt file.
    • Entry format: <statefun_version>=<signing_key>, e.g., 2.0.0=1C1E2394D3194E1944613488F320986D35C33D6A
    • Commit this change with message [release] Add GPG key for x.y.z release.
  2. Run add-version.sh with the appropriate arguments (-s statefun-version -f flink-version)
    • e.g. ./add-version.sh -s 2.0.0 -f 1.10.0
    • Commit these changes with message [release] Update Dockerfiles for x.y.z release.

A pull request can then be opened on this repo with the changes.

At last you need to build the Docker images and upload them to https://hub.docker.com/r/apache/flink-statefun.

  • docker build -t apache/flink-statefun:x.y.z
  • docker push apache/flink-statefun:x.y.z

Note that the Java 8 image should have a tag of the form x.y.z-java8. The Java 11 image should be published under x.y.z, x.y.z-java11 and latest.

If you cannot push to apache/flink-statefun then reach out to INFRA to ask to be added to the apache DockerHub organization.

Release checklist

  • [ ] The GPG key ID of the key used to sign the new release has been added to gpg_keys.txt and committed with the message [release] Add GPG key for x.y.z release
  • [ ] ./add-version.sh -s x.y.z -f a.b.c has been run, and the new Dockerfiles committed with the message [release] Update Dockerfiles for x.y.z release
  • [ ] A pull request with the above changes has been opened on this repo and merged
  • [ ] The Docker images have been built and pushed

License

Licensed under the Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0

Apache Flink, Flink®, Apache®, the squirrel logo, the Stateful Functions logo, and the Apache feather logo are either registered trademarks or trademarks of The Apache Software Foundation.