From 89ddb40b07eff0cde9b6bc3be232bdfd6c15a8b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=20Gl=C3=A4=C3=9F-St=C3=B6cker?= Date: Thu, 15 Apr 2021 12:39:43 +0200 Subject: [PATCH] build with 1.14 and try to build instead of install --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d3c754f..44195b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.13-alpine as builder +FROM golang:1.14-alpine as builder LABEL maintainer="MinIO Inc " @@ -9,7 +9,7 @@ ENV GO111MODULE on RUN \ apk add --no-cache git && \ git clone https://github.com/minio/minio && cd minio && \ - git checkout master && go install -v -ldflags "$(go run buildscripts/gen-ldflags.go)" + git checkout master && go build -v -ldflags "$(go run buildscripts/gen-ldflags.go)" FROM alpine:3.12