Temporary overwrite of the infra mirror for debian security repo
Depends-On: https://review.opendev.org/686825 Change-Id: I23163676420498bb3fd3d0e411554ca34dfbe318
This commit is contained in:
parent
37f35f08c6
commit
9987d90b06
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user