diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2598f14..84b90d6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: golang:1.14-buster +image: golang:1.14-alpine stages: - build @@ -6,7 +6,8 @@ stages: before_script: - export DEBIAN_FRONTEND=noninteractive - - apt-get update; apt-get install ca-certificates -yqq + - export CGO_ENABLED=0 + - apk add --upgrade --no-cache ca-certificates - wget "http://certs.corp.magnax.ca/root.crt" -O /usr/local/share/ca-certificates/magnax-root.crt - wget "http://certs.corp.magnax.ca/proxy.crt" -O /usr/local/share/ca-certificates/magnax-proxy.crt - update-ca-certificates