Skip to content

Commit

Permalink
Switch to alpine for builders, force CGO off
Browse files Browse the repository at this point in the history
  • Loading branch information
t0xicCode committed Dec 29, 2020
1 parent 982b018 commit a0d6e3f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
image: golang:1.14-buster
image: golang:1.14-alpine

stages:
- build
- release

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
Expand Down

0 comments on commit a0d6e3f

Please sign in to comment.