File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -327,12 +327,12 @@ pipeline {
327327 LOCAL_CONTAINER=${IMAGE}:${META_TAG}
328328 fi
329329 if [ "${DIST_IMAGE}" == "alpine" ]; then
330- docker run --rm -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} sh -c '\
330+ docker run --rm --entrypoint '/bin/sh' - v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} -c '\
331331 apk info > packages && \
332332 apk info -v > versions && \
333333 paste -d " " packages versions > /tmp/package_versions.txt'
334334 elif [ "${DIST_IMAGE}" == "ubuntu" ]; then
335- docker run --rm -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} sh -c '\
335+ docker run --rm --entrypoint '/bin/sh' - v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} -c '\
336336 apt -qq list --installed | awk "{print \$ 1,\$ 2}" > /tmp/package_versions.txt'
337337 fi
338338 if [ "$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 )" != "${PACKAGE_TAG}" ]; then
You can’t perform that action at this time.
0 commit comments