Merge "Temporary overwrite of the infra mirror for debian security repo"

This commit is contained in:
Zuul 2019-10-07 15:27:52 +00:00 committed by Gerrit Code Review
commit d9cf71dd5a

View File

@ -74,6 +74,10 @@ case ${DISTRO_ID} in
libselinux-python python-virtualenv
;;
ubuntu|debian)
# NOTE(jrosser) remove this once infra debian images point to the upstream security repo
if `/bin/grep -q "stretch" /etc/os-release` && [ -f "/etc/apt/sources.list.d/security.list" ]; then
echo "deb http://security.debian.org stretch/updates main contrib" > /etc/apt/sources.list.d/security.list
fi
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -y install \
git-core curl gcc netcat \