diff --git a/docker/Dockerfile.go_build b/docker/Dockerfile.go_build index 306ce3aa1..ea0a57769 100644 --- a/docker/Dockerfile.go_build +++ b/docker/Dockerfile.go_build @@ -1,7 +1,7 @@ FROM frolvlad/alpine-glibc as builder RUN apk add git go g++ 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 --depth 1 https://github.com/Dando-Real-ITA/seaweedfs -b develop /go/src/github.com/chrislusf/seaweedfs RUN cd /go/src/github.com/chrislusf/seaweedfs/weed && go install FROM alpine AS final diff --git a/test/s3/multipart/aws_upload.go b/test/s3/multipart/aws_upload.go index 6dd321daa..24a186625 100644 --- a/test/s3/multipart/aws_upload.go +++ b/test/s3/multipart/aws_upload.go @@ -6,7 +6,6 @@ import ( "bytes" "flag" "fmt" - "net/http" "os" "github.com/aws/aws-sdk-go/aws" diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go index 9280c85aa..600f4028f 100644 --- a/weed/command/filer_copy.go +++ b/weed/command/filer_copy.go @@ -5,7 +5,6 @@ import ( "fmt" "io" "io/ioutil" - "net/http" "net/url" "os" "path/filepath" diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.go index c84c88e02..61ebbfc09 100644 --- a/weed/filesys/filehandle.go +++ b/weed/filesys/filehandle.go @@ -5,7 +5,6 @@ import ( "fmt" "io" "math" - "net/http" "os" "sync" "time"