summaryrefslogtreecommitdiff
path: root/bin/setup
diff options
context:
space:
mode:
Diffstat (limited to 'bin/setup')
-rwxr-xr-xbin/setup4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/setup b/bin/setup
index ada231f..46ea045 100755
--- a/bin/setup
+++ b/bin/setup
@@ -7,7 +7,9 @@ cd "$(dirname "$0")/.."
export PATH="/builds/gitlab-org/security-products/license-management/exe:/opt/gitlab/embedded/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
if [ ! -f /usr/sbin/haproxy ] && command -v apt-get; then
- apt-get update -y && apt-get install -y --no-install-recommends git haproxy
+ curl https://haproxy.debian.net/bernat.debian.org.gpg | apt-key add -
+ echo deb http://haproxy.debian.net buster-backports-2.2 main | tee /etc/apt/sources.list.d/haproxy.list
+ apt-get update -y && apt-get install -y --no-install-recommends haproxy=2.2.\*
fi
[[ -z "$CI_JOB_ID" ]] && enable_dev_mode