Use ubuntu-debootstrap and Go 1.5.1.

Currently, the Dockerfile is broken because it installs Go 1.5
while the minimum required version is 1.5.1.

Also, switch to a minimval version of Ubuntu (ubuntu-debootstrap)
and reduce the image size by 70M in unneeded dependencies.
This commit is contained in:
Matt Butcher 2015-10-02 13:38:51 -06:00
parent 62e31e7eb0
commit 37a02670f5

View file

@ -1,9 +1,8 @@
FROM ubuntu:14.04
FROM ubuntu-debootstrap:14.04
MAINTAINER Minio Community
ENV GOLANG_TARBALL go1.5.linux-amd64.tar.gz
ENV GOLANG_TARBALL go1.5.1.linux-amd64.tar.gz
ENV GOROOT /usr/local/go/
ENV GOPATH /go-workspace