Merge "Temporary overwrite of the infra mirror for debian security repo"
This commit is contained in:
commit
d9cf71dd5a
@ -74,6 +74,10 @@ case ${DISTRO_ID} in
|
|||||||
libselinux-python python-virtualenv
|
libselinux-python python-virtualenv
|
||||||
;;
|
;;
|
||||||
ubuntu|debian)
|
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
|
apt-get update
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -y install \
|
DEBIAN_FRONTEND=noninteractive apt-get -y install \
|
||||||
git-core curl gcc netcat \
|
git-core curl gcc netcat \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user