Skip to content

Commit 186e58e

Browse files
Bot Updating Templated Files
1 parent 36c8b0e commit 186e58e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)