From 29a75ff9354176a4e7d5067ce59da02bd755c6d6 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 12 Jun 2019 15:18:39 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3edbd9e..2c21390 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,10 +6,6 @@ services: build:package: stage: compile - image: archlinux/base + image: registry.higherlearning.eu/personal/homelab/docker/arch-pkg-build script: - - pacman -Sy --needed --noconfirm sudo # Install sudo - - useradd builduser -m # Create the builduser - - passwd -d builduser # Delete the buildusers password - - printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers # Allow the builduser passwordless sudo - sudo -u builduser 'bash -c makepkg -s' \ No newline at end of file