docker-scripts/linux/ecosystem/gitlab/runner/php7.4/install-gitlab-runner.sh

11 lines
327 B
Bash
Raw Normal View History

2022-11-14 22:44:11 +03:00
#!/usr/bin/env bash
set -eEo pipefail
wget --no-check-certificate -c https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_amd64.deb --random-wait -O /tmp/gitlab-runner.deb
dpkg -i "/tmp/gitlab-runner.deb"
apt-get update
apt-get -f install -y
rm -rfv /var/lib/apt/lists/*
rm -rfv "/tmp/gitlab-runner.deb"