commit | 0ac313e39fda6c49778fbdf15f4b5d827476253a | [log] [tgz] |
---|---|---|
author | Hong Teoh <liangtl@amazon.com> | Thu May 30 15:11:20 2024 +0100 |
committer | Hong Liang Teoh <hong@apache.org> | Thu May 30 15:23:47 2024 +0100 |
tree | 3389741503cebfa7f9b007f124d11ee45151e2fd | |
parent | af15ec6bb29e197aa3a9b35f968c623623a372ea [diff] |
[FLINK-34746] Switching to the Apache CDN for Dockerfile
The commands shown during these steps serve as an example and assume that you have checked out flink
and flink-docker
in the same folder and version 1.11. Please substitute your folder structure and version.
flink/flink-dist/target/flink-1.11-SNAPSHOT-bin
: tar czf flink-1.11.tgz flink-1.11-SNAPSHOT
cp flink/flink-dist/target/flink-1.11-SNAPSHOT-bin/flink-1.11.tgz flink-docker
docker run -it -p 9999:9999 -v `pwd`:/data python:3.7.7-slim-buster python -m http.server 9999
Dockerfile
./add-custom.sh -u http://localhost:9999/data/flink-1.11.tgz -n flink-1.11
(If you are on a Mac or Windows, use host.docker.internal
instead of localhost
)host.minikube.internal
which you can look up via minikube ssh "cat /etc/hosts"
.flink-docker/dev/flink-1.11-debian
): docker build -t flink:1.11-SN .
docker run -it flink:1.11-SN jobmanager