Skip to content

Commit 87e6098

Browse files
Bot Updating Templated Files
1 parent 17ac8d6 commit 87e6098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -313,12 +313,12 @@ pipeline {
313313
LOCAL_CONTAINER=${IMAGE}:${META_TAG}
314314
fi
315315
if [ "${DIST_IMAGE}" == "alpine" ]; then
316-
docker run --rm -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} sh -c '\
316+
docker run --rm --entrypoint '/bin/sh' -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} -c '\
317317
apk info > packages && \
318318
apk info -v > versions && \
319319
paste -d " " packages versions > /tmp/package_versions.txt'
320320
elif [ "${DIST_IMAGE}" == "ubuntu" ]; then
321-
docker run --rm -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} sh -c '\
321+
docker run --rm --entrypoint '/bin/sh' -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} -c '\
322322
apt -qq list --installed | awk "{print \$1,\$2}" > /tmp/package_versions.txt'
323323
fi
324324
if [ "$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 )" != "${PACKAGE_TAG}" ]; then

0 commit comments

Comments
 (0)