From 9dff96b1af213bfcead9a61e4c3a4d4014e91531 Mon Sep 17 00:00:00 2001
From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de>
Date: Thu, 12 Aug 2021 13:46:40 +0200
Subject: [PATCH] ci: Use upstream golang image

This saves considerable time, as we do not need to apt-get install golang.
---
 .gitlab-ci.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fc5aa90..0b9530e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,11 +10,9 @@ cache:
     - .go
 
 build:
-  image: debian:buster
+  image: golang:1-buster
   stage: build
   before_script:
-    - echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/backports.list
-    - apt-get update && apt-get -qq -y -t buster-backports install golang git
     - go version
   script:
     - go build -o $CI_PROJECT_NAME-$GOOS-$GOARCH
-- 
GitLab