tests: fix docker image [skip ci]
This commit is contained in:
parent
89cab211bc
commit
93d8e2eb0a
|
@ -1,7 +1,11 @@
|
||||||
# stick to non-alpine so we can reuse build from travis host (avoid libc compat issues)
|
# stick to non-alpine so we can reuse build from travis host (avoid libc compat issues)
|
||||||
FROM golang:1.12
|
FROM golang:1.12
|
||||||
|
|
||||||
RUN apk update && apk add git make gcc
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
RUN apt update \
|
||||||
|
&& apt install -y git make gcc \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
RUN go get -d golang.zx2c4.com/wireguard \
|
RUN go get -d golang.zx2c4.com/wireguard \
|
||||||
&& cd /go/src/golang.zx2c4.com/wireguard \
|
&& cd /go/src/golang.zx2c4.com/wireguard \
|
||||||
&& rm donotuseon_linux.go \
|
&& rm donotuseon_linux.go \
|
||||||
|
|
Loading…
Reference in New Issue