Update from upstream github repository

This commit is contained in:
Lumir Balhar 2020-04-03 14:35:44 +02:00
commit b13032933e
6 changed files with 19 additions and 24 deletions

View file

@ -254,7 +254,7 @@ function ct_npm_works() {
local tmpdir
tmpdir=$(mktemp -d)
: " Testing npm in the container image"
cid_file="${tmpdir}/cid"
local cid_file="${tmpdir}/cid"
if ! docker run --rm "${IMAGE_NAME}" /bin/bash -c "npm --version" >"${tmpdir}/version" ; then
echo "ERROR: 'npm --version' does not work inside the image ${IMAGE_NAME}." >&2
return 1