Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

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 with the appropriate arguments (-s statefun-version -f flink-version)
    • e.g. ./ -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

  • 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
  • ./ -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


Licensed under the Apache License, Version 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.


Docker packaging for Apache Flink Stateful Functions



Code of conduct

Security policy





No releases published


No packages published