Files
wesher/tests/Dockerfile
2020-05-19 23:00:54 +02:00

17 lines
397 B
Docker

# stick to non-alpine so we can reuse build from travis host (avoid libc compat issues)
FROM golang:1.14
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 \
&& cd /go/src/golang.zx2c4.com/wireguard \
&& make install
COPY entrypoint.sh /
WORKDIR /app
ENTRYPOINT [ "/entrypoint.sh" ]