From 7661405730f4668b48971daf6d5599ac9cabc1c2 Mon Sep 17 00:00:00 2001 From: Colin Hutchinson Date: Thu, 28 May 2020 14:10:27 +0000 Subject: [PATCH] fix(systemd) pin the systemd ubuntu version --- test/tests/01-package/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests/01-package/run.sh b/test/tests/01-package/run.sh index 00c135b5..f15ba611 100644 --- a/test/tests/01-package/run.sh +++ b/test/tests/01-package/run.sh @@ -21,7 +21,7 @@ docker run ${USE_TTY} --user=root --rm ${DOCKER_GO_BUILDER} /bin/sh -c "ls -la / # TODO enable this test in other distros containing systemd if [[ "$RESTY_IMAGE_TAG" == "bionic" ]]; then cp $PACKAGE_LOCATION/*.deb kong.deb - docker run -d --rm --name systemd-ubuntu -e KONG_DATABASE=off --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v $PWD:/src jrei/systemd-ubuntu + docker run -d --rm --name systemd-ubuntu -e KONG_DATABASE=off --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v $PWD:/src jrei/systemd-ubuntu:18.04 docker exec ${USE_TTY} systemd-ubuntu /bin/bash -c "apt-get update" docker exec ${USE_TTY} systemd-ubuntu /bin/bash -c "dpkg -i /src/kong.deb || true" docker exec ${USE_TTY} systemd-ubuntu /bin/bash -c "apt-get install -f -y"