Merge pull request #1227 from Flink/dockerfile-build-without-cache
Use --no-cache when building Dockerfile
This commit is contained in:
@@ -41,7 +41,7 @@ case "$1" in
|
|||||||
# buildstep pluginhooks don't necessarily make sense for dockerfiles. call the new breed!!!
|
# buildstep pluginhooks don't necessarily make sense for dockerfiles. call the new breed!!!
|
||||||
pluginhook pre-build-dockerfile "$APP"
|
pluginhook pre-build-dockerfile "$APP"
|
||||||
|
|
||||||
docker build -t "$IMAGE" .
|
docker build --no-cache -t "$IMAGE" .
|
||||||
|
|
||||||
pluginhook post-build-dockerfile "$APP"
|
pluginhook post-build-dockerfile "$APP"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user