The scripts under tools/docker/ in the flink-statefun repo contains scripts that prepare the build context for building snapshot StateFun images that we use for development purposes.
Those can be adapted so that they may be used for submission to the Docker Hub official images repo:
- The build context should be readily in shape as is in the Dockerfile repo, instead of relying on a build script
- statefun-flink-distribution and statefun-flink-core jars should be downloaded from Maven + signature verification needs to be performed
- We need some tooling in place that allows us to automate the release workflow of adding a new version for the images. We should be able to adapt those from the existing Flink Dockerfiles repo.