mirror of
https://git.netzspielplatz.de/docker-multiarch/minio.git
synced 2025-11-08 18:29:27 +00:00
build with 1.14 and try to build instead of install
This commit is contained in:
parent
6ae2db23fe
commit
89ddb40b07
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.13-alpine as builder
|
FROM golang:1.14-alpine as builder
|
||||||
|
|
||||||
LABEL maintainer="MinIO Inc <dev@min.io>"
|
LABEL maintainer="MinIO Inc <dev@min.io>"
|
||||||
|
|
||||||
|
|
@ -9,7 +9,7 @@ ENV GO111MODULE on
|
||||||
RUN \
|
RUN \
|
||||||
apk add --no-cache git && \
|
apk add --no-cache git && \
|
||||||
git clone https://github.com/minio/minio && cd minio && \
|
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
|
FROM alpine:3.12
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue