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 {
327
327
LOCAL_CONTAINER=${IMAGE}:${META_TAG}
328
328
fi
329
329
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 '\
331
331
apk info > packages && \
332
332
apk info -v > versions && \
333
333
paste -d " " packages versions > /tmp/package_versions.txt'
334
334
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 '\
336
336
apt -qq list --installed | awk "{print \$ 1,\$ 2}" > /tmp/package_versions.txt'
337
337
fi
338
338
if [ "$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 )" != "${PACKAGE_TAG}" ]; then
You can’t perform that action at this time.
0 commit comments