Browse Source

use go 1.17 for docker

pull/2266/head
Chris Lu 3 years ago
parent
commit
7bf65c1e99
  1. 2
      docker/Dockerfile.go_build
  2. 2
      docker/Dockerfile.go_build_large

2
docker/Dockerfile.go_build

@ -1,4 +1,4 @@
FROM amd64/golang:1.16-alpine as builder
FROM amd64/golang:1.17-alpine as builder
RUN apk add git g++ fuse RUN apk add git g++ fuse
RUN mkdir -p /go/src/github.com/chrislusf/ RUN mkdir -p /go/src/github.com/chrislusf/
RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs

2
docker/Dockerfile.go_build_large

@ -1,4 +1,4 @@
FROM amd64/golang:1.16-alpine as builder
FROM amd64/golang:1.17-alpine as builder
RUN apk add git g++ fuse RUN apk add git g++ fuse
RUN mkdir -p /go/src/github.com/chrislusf/ RUN mkdir -p /go/src/github.com/chrislusf/
RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs

Loading…
Cancel
Save