From 5429ef81e01ab750deeb594f4e8f8188815d4ac0 Mon Sep 17 00:00:00 2001 From: Sergey Bogatyrets Date: Sat, 21 Mar 2020 22:32:41 +0300 Subject: [PATCH] Remove platform testing arg from Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ac97157..1f04b1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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