1
0
Fork 0
mirror of synced 2024-12-22 06:31:05 -05:00
openvpn-user/Dockerfile
2021-02-05 09:37:12 +03:00

4 lines
194 B
Docker

FROM golang:1.14.2-alpine3.11 AS builder
COPY . /app
RUN cd /app && env CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags='-linkmode external -extldflags "-static" -s -w' -o openvpn-user