From 724f3c88b39bb487e1bb6555dbe2569dd945bd44 Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Fri, 21 Aug 2020 15:38:09 +0200 Subject: [PATCH] fixed and updated dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2c277141..7c1bafe1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM golang:1.12-alpine as builder +FROM golang:1.15-alpine as builder COPY . /go/src/github.com/documize/community -RUN cd /go/src/github.com/documize/community +WORKDIR /go/src/github.com/documize/community RUN env GOOS=linux GOARCH=amd64 GODEBUG=tls13=1 go build -mod=vendor -o bin/documize-community-linux-amd64 ./edition/community.go # build release image