Compare commits

...

30 Commits

Author SHA1 Message Date
Minio Trusted
4f61bd025d Bump to new release. 2017-05-04 18:31:31 -07:00
Minio Trusted
40985cc4e3 Merge from 'master' 2017-05-04 17:56:58 -07:00
Minio Trusted
1b472dae78 Bump to new release. 2017-04-28 17:58:49 -07:00
Krishna Srinivas
eb50175ad9 gateway: reject bad path segments in URL (#4202) 2017-04-28 17:26:13 -07:00
Krishna Srinivas
e85349381e gateway: Fix help message for gateway (#4201) 2017-04-28 17:26:00 -07:00
Krishna Srinivas
06bc68a4b3 gateway: Fix help message for custom Azure Blob Storage endpoint. (#4113) 2017-04-28 17:23:41 -07:00
Krishna Srinivas
fb506c7fca gateway: Support for custom endpoint. (#4086) 2017-04-28 17:23:23 -07:00
Harshavardhana
8a7cffe7b8 docs: macOS brew now refers to Minio fork (#4059) 2017-04-25 11:01:51 -07:00
Minio Trusted
5c85ce1afd Bump to new release. 2017-04-24 18:34:34 -07:00
Harshavardhana
710db6bdad build: Reduce binary size by using -s -w (#4027)
Refer #3939
2017-04-24 18:23:42 -07:00
Harshavardhana
058ea84605 server: Validate path for bad components in a handler. (#4170) 2017-04-24 18:22:40 -07:00
Minio Trusted
6e7d33df20 Bump to new release 2017-03-16 14:52:42 -07:00
Minio Trusted
5311eb22fd Fix dockerfile 2017-03-16 14:49:30 -07:00
Minio Trusted
83abb310b4 Bump to new release 2017-02-15 17:51:19 -08:00
Minio Trusted
3d98311d9f Merge branch 'master' into release 2017-02-15 17:47:12 -08:00
Minio Trusted
d44e38b462 Bump to new release 2017-02-15 15:09:15 -08:00
Minio Trusted
8948c972ee Merge branch 'master' into release 2017-02-15 15:07:51 -08:00
Minio Trusted
29b49f9343 Bump to new release. 2017-01-24 19:18:54 -08:00
Minio Trusted
f8e4700a11 Merge remote-tracking branch 'origin/master' into release 2017-01-24 19:13:39 -08:00
Minio Trusted
4c5c00c640 Bump to new release 2017-01-24 18:54:28 -08:00
Minio Trusted
0be44133d4 Merge remote-tracking branch 'origin/master' into release 2017-01-24 18:42:52 -08:00
Minio Trusted
817e763416 Bump to new release. 2016-12-13 09:24:36 -08:00
Minio Trusted
0abab5305f Merge branch 'master' into release 2016-12-13 09:22:41 -08:00
Minio Trusted
e6e855a7cf Bump to new release. 2016-12-12 15:49:31 -08:00
Minio Trusted
6fca1d164c Merge branch 'master' into release 2016-12-12 15:48:03 -08:00
Minio Trusted
9b76eba37e Bump to new release RELEASE.2016-12-12T18-35-43Z 2016-12-12 10:51:35 -08:00
Minio Trusted
03714d4809 Merge branch 'master' into release 2016-12-12 10:50:37 -08:00
Minio Trusted
3a73ea3f54 Bump to new release 2016-11-25 18:38:44 -08:00
Harshavardhana
9625629fc7 Merge branch 'master' into release 2016-11-25 18:23:36 -08:00
Minio Trusted
8507ce2a87 Bump to new release. 2016-11-23 18:19:40 -08:00
6 changed files with 12 additions and 11 deletions

View File

@@ -11,7 +11,8 @@ RUN \
apk add --no-cache --virtual .build-deps git go musl-dev && \ apk add --no-cache --virtual .build-deps git go musl-dev && \
go get -v -d github.com/minio/minio && \ go get -v -d github.com/minio/minio && \
cd /go/src/github.com/minio/minio && \ cd /go/src/github.com/minio/minio && \
go install -v -ldflags "$(go run buildscripts/gen-ldflags.go)" && \ git checkout release && \
go install -v -ldflags "-X github.com/minio/minio/cmd.Version=2017-05-05T01:14:51Z -X github.com/minio/minio/cmd.ReleaseTag=RELEASE.2017-05-05T01-14-51Z -X github.com/minio/minio/cmd.CommitID=40985cc4e3eec06b7ea82dc34c8d907fd2e7aa12" && \
rm -rf /go/pkg /go/src /usr/local/go && apk del .build-deps rm -rf /go/pkg /go/src /usr/local/go && apk del .build-deps
EXPOSE 9000 EXPOSE 9000

View File

@@ -11,7 +11,7 @@ RUN \
apk add --no-cache --virtual .build-deps git go musl-dev && \ apk add --no-cache --virtual .build-deps git go musl-dev && \
go get -v -d github.com/minio/minio && \ go get -v -d github.com/minio/minio && \
cd /go/src/github.com/minio/minio && \ cd /go/src/github.com/minio/minio && \
go install -v -ldflags "$(go run buildscripts/gen-ldflags.go)" && \ go install -v -ldflags "-X github.com/minio/minio/cmd.Version=2017-03-16T21:50:32Z -X github.com/minio/minio/cmd.ReleaseTag=RELEASE.2017-03-16T21-50-32Z -X github.com/minio/minio/cmd.CommitID=5311eb22fd681a8cd4a46e2a872d46c2352c64e8" && \
rm -rf /go/pkg /go/src /usr/local/go && apk del .build-deps rm -rf /go/pkg /go/src /usr/local/go && apk del .build-deps
EXPOSE 9000 EXPOSE 9000

View File

@@ -11,7 +11,7 @@ RUN \
apk add --no-cache --virtual .build-deps git go musl-dev && \ apk add --no-cache --virtual .build-deps git go musl-dev && \
go get -v -d github.com/minio/minio && \ go get -v -d github.com/minio/minio && \
cd /go/src/github.com/minio/minio && \ cd /go/src/github.com/minio/minio && \
go install -v -ldflags "$(go run buildscripts/gen-ldflags.go)" && \ go install -v -ldflags "-X github.com/minio/minio/cmd.Version=2017-03-16T21:50:32Z -X github.com/minio/minio/cmd.ReleaseTag=RELEASE.2017-03-16T21-50-32Z -X github.com/minio/minio/cmd.CommitID=5311eb22fd681a8cd4a46e2a872d46c2352c64e8" && \
rm -rf /go/pkg /go/src /usr/local/go && apk del .build-deps rm -rf /go/pkg /go/src /usr/local/go && apk del .build-deps
EXPOSE 9000 EXPOSE 9000

View File

@@ -1,7 +1,7 @@
LDFLAGS := $(shell go run buildscripts/gen-ldflags.go) LDFLAGS := $(shell go run buildscripts/gen-ldflags.go)
PWD := $(shell pwd) PWD := $(shell pwd)
GOPATH := $(shell go env GOPATH) GOPATH := $(shell go env GOPATH)
BUILD_LDFLAGS := '$(LDFLAGS)' BUILD_LDFLAGS := '$(LDFLAGS) -s -w'
TAG := latest TAG := latest
HOST ?= $(shell uname) HOST ?= $(shell uname)

View File

@@ -53,7 +53,7 @@ go_build() {
release_bin_6="$release_str/$os-${arch}6vl/$(basename $package).$release_tag" release_bin_6="$release_str/$os-${arch}6vl/$(basename $package).$release_tag"
## Support building for ARM6vl ## Support building for ARM6vl
GOARM=6 GOOS=$os GOARCH=$arch go build --ldflags "${LDFLAGS}" -o $release_bin_6 GOARM=6 GOOS=$os GOARCH=$arch go build --ldflags "-s -w ${LDFLAGS}" -o $release_bin_6
## Copy ## Copy
$CP -p $release_bin_6 $release_real_bin_6 $CP -p $release_bin_6 $release_real_bin_6
@@ -70,7 +70,7 @@ go_build() {
release_bin_7="$release_str/$os-$arch/$(basename $package).$release_tag" release_bin_7="$release_str/$os-$arch/$(basename $package).$release_tag"
## Support building for ARM7vl ## Support building for ARM7vl
GOARM=7 GOOS=$os GOARCH=$arch go build --ldflags "${LDFLAGS}" -o $release_bin_7 GOARM=7 GOOS=$os GOARCH=$arch go build --ldflags "-s -w ${LDFLAGS}" -o $release_bin_7
## Copy ## Copy
$CP -p $release_bin_7 $release_real_bin_7 $CP -p $release_bin_7 $release_real_bin_7
@@ -82,7 +82,7 @@ go_build() {
shasum_str=$(${SHASUM} ${release_bin_7}) shasum_str=$(${SHASUM} ${release_bin_7})
echo ${shasum_str} | $SED "s/$release_str\/$os-$arch\///g" > $release_shasum_7 echo ${shasum_str} | $SED "s/$release_str\/$os-$arch\///g" > $release_shasum_7
else else
GOOS=$os GOARCH=$arch go build --ldflags "${LDFLAGS}" -o $release_bin GOOS=$os GOARCH=$arch go build --ldflags "-s -w ${LDFLAGS}" -o $release_bin
# Create copy # Create copy
if [ $os == "windows" ]; then if [ $os == "windows" ]; then

View File

@@ -1,8 +1,8 @@
%define tag RELEASE.2017-04-25T01-27-49Z %define tag RELEASE.2017-04-29T00-40-27Z
%define subver %(echo %{tag} | sed -e 's/[^0-9]//g') %define subver %(echo %{tag} | sed -e 's/[^0-9]//g')
# git fetch https://github.com/minio/minio.git refs/tags/RELEASE.2017-02-16T01-47-30Z # git fetch https://github.com/minio/minio.git refs/tags/RELEASE.2017-04-29T00-40-27Z
# git rev-list -n 1 FETCH_HEAD # git rev-list -n 1 FETCH_HEAD
%define commitid 83abb310b4ce3a0dfc6d7faf78e33cb6f9132cfe %define commitid 1b472dae78b491fa7efcd21278c1e6aa83b037d3
Summary: Cloud Storage Server. Summary: Cloud Storage Server.
Name: minio Name: minio
Version: 0.0.%{subver} Version: 0.0.%{subver}
@@ -19,7 +19,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define debug_package %{nil} %define debug_package %{nil}
## Go related tags. ## Go related tags.
%define gobuild(o:) go build -ldflags "${LDFLAGS:-}" %{?**}; %define gobuild(o:) go build -ldflags "-s -w ${LDFLAGS:-}" %{?**};
%define gopath %{_libdir}/golang %define gopath %{_libdir}/golang
%define import_path github.com/minio/minio %define import_path github.com/minio/minio