Skip to content

Conversation

@kellinwood
Copy link

Its a royal pain to have to get the flink-dist.tar.gz exposed via HTTP in order to do the docker build, so this change allows the generated Dockerfile to reference the tgz as a local file via file: scheme.

Note that this change also uses the RUN --mount ... command in the Dockerfile which is not supported in older versions of docker. This mounts the build context dir (.) as /build-ctx, thus requiring the tgz file to be in the build context dir, and that the FLINK_TGZ_URL value must start with file://build-ctx/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants