File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ function waiting_process {
2929}
3030
3131# Start podman service
32- export DOCKER_HOST=tcp://127.0.0.1:1234
32+ export DOCKER_PORT=1234
33+ export DOCKER_HOST=tcp://127.0.0.1:${DOCKER_PORT}
3334
3435log_level=" error"
3536if [[ " ${DRYCC_DEBUG} " ]]; then
3940
4041podman system service \
4142 --log-level " ${log_level} " \
42- --time 0 tcp:0.0.0.0:1234 &
43+ --time 0 tcp:0.0.0.0:${DOCKER_PORT} &
4344
4445waiting_process podman
4546if [[ -n " ${TAR_PATH} " ]]; then
@@ -97,8 +98,13 @@ if [[ "${DRYCC_STACK}" == "container" ]] ; then
9798 podman build -t " ${image_cache_repo} " --network host .
9899else
99100 echo " ---> Building pack"
100- echo " use builder ${pack_builder} "
101- pack build " ${image_cache_repo} " --builder " ${pack_builder} " --docker-host " ${DOCKER_HOST} " --lifecycle-image " ${LIFECYCLE_IMAGE} " --trust-builder --network host
101+ echo " ---> Using builder ${pack_builder} "
102+ pack build " ${image_cache_repo} " \
103+ --builder " ${pack_builder} " \
104+ --docker-host " ${DOCKER_HOST} " \
105+ --lifecycle-image " ${LIFECYCLE_IMAGE} " \
106+ --trust-builder \
107+ --network host
102108fi
103109
104110# Publish image
You can’t perform that action at this time.
0 commit comments