1 .template-docker: &template-docker
4 - apt-get install --no-install-recommends --yes build-essential ca-certificates git golang golang-1.16 golang-golang-x-tools make openssh-server
6 # Gitlab-runner uses umask 0000 (wtf?!) and mixes nobody and root user
7 # when setting up the environment. This breaks ssh's permission check on
9 - chown -R root:root /builds
10 - chmod -R go-w /builds
11 # NOTE: golang is still using golang-1.15
12 - mkdir -p $HOME/go/bin
13 - ln -sf /usr/lib/go-1.16/bin/go $HOME/go/bin
14 - ln -sf /usr/lib/go-1.16/bin/gofmt $HOME/go/bin