Commit 195ba190 by Sven Hettwer

Replaced deprecated `--force-pull=false` parameter by `--pull-policy=never`

parent 03daeaaf
...@@ -28,7 +28,7 @@ cid_file=$($MKTEMP_EXEC -u --suffix=.cid) ...@@ -28,7 +28,7 @@ cid_file=$($MKTEMP_EXEC -u --suffix=.cid)
# Since we built the candidate image locally, we don't want S2I to attempt to pull # Since we built the candidate image locally, we don't want S2I to attempt to pull
# it from Docker hub # it from Docker hub
s2i_args="--force-pull=false --loglevel=2" s2i_args="--pull-policy=never --loglevel=2"
# Read exposed port from image meta data # Read exposed port from image meta data
test_port="$(docker inspect --format='{{range $key, $value := .ContainerConfig.ExposedPorts }}{{$key}}{{end}}' ${IMAGE_NAME} | sed 's/\/.*//')" test_port="$(docker inspect --format='{{range $key, $value := .ContainerConfig.ExposedPorts }}{{$key}}{{end}}' ${IMAGE_NAME} | sed 's/\/.*//')"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment