Skip to content
Snippets Groups Projects
Commit 3adfc218 authored by Bernhard Heinloth's avatar Bernhard Heinloth
Browse files

Use alternative debian repository (via https) for scripts

parent 31276a77
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,9 @@ elif [ -f "/.dockerenv" ] ; then
# Preinit APT
ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
export DEBIAN_FRONTEND=noninteractive
# Use alternative debian repo
echo "Acquire { https::Verify-Peer false }" >/etc/apt/apt.conf.d/99verify-peer.conf
sed -ie "s|http://deb.debian.org/|https://debian.inf.tu-dresden.de/|" /etc/apt/sources.list
apt-get update
# Setup
......
......@@ -35,6 +35,9 @@ elif [ -f "/.dockerenv" ] ; then
# Preinit APT
ln -fs /usr/share/zoneinfo/UTC /etc/localtime
export DEBIAN_FRONTEND=noninteractive
# Use alternative debian repo
echo "Acquire { https::Verify-Peer false }" >/etc/apt/apt.conf.d/99verify-peer.conf
sed -ie "s|http://deb.debian.org/|https://debian.inf.tu-dresden.de/|" /etc/apt/sources.list
apt-get update
apt install -y make ${PACKAGES[@]:-}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment