Remove platform testing arg from Dockerfile

This commit is contained in:
Sergey Bogatyrets 2020-03-21 22:32:41 +03:00
parent 622e60cbfd
commit 5429ef81e0

View File

@ -1,6 +1,6 @@
ARG GOLANG_VERSION="1.12"
FROM --platform=$BUILDPLATFORM golang:$GOLANG_VERSION-alpine as builder
FROM golang:$GOLANG_VERSION-alpine as builder
WORKDIR /go/src/github.com/olebedev/socks5
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-s' -o ./socks5