Remove docs, minimal docs going to be at minio.io instead and rest amazon docs

This commit is contained in:
Harshavardhana
2015-04-10 21:18:35 -07:00
parent 74506bb48b
commit c63bdf79fa
15 changed files with 8 additions and 332 deletions

View File

@@ -6,7 +6,7 @@ MAINTAINER Minio Community
ENV GOLANG_TARBALL go1.4.2.linux-amd64.tar.gz
ENV GOROOT /usr/local/go/
ENV GOPATH /go-workspace
ENV GOPATH /go-workspace
ENV PATH ${GOROOT}/bin:${GOPATH}/bin/:$PATH
RUN apt-get update -y && apt-get install -y -q \
@@ -14,24 +14,21 @@ RUN apt-get update -y && apt-get install -y -q \
git \
build-essential \
ca-certificates \
yasm \
python-pip
yasm
RUN curl -O -s https://storage.googleapis.com/golang/${GOLANG_TARBALL} && \
tar -xzf ${GOLANG_TARBALL} -C ${GOROOT%*go*} && \
rm ${GOLANG_TARBALL} && \
pip install mkdocs
rm ${GOLANG_TARBALL}
ADD . ${GOPATH}/src/github.com/minio-io/minio
RUN cd ${GOPATH}/src/github.com/minio-io/minio && \
make
RUN apt-get remove -y build-essential curl git python-pip && \
RUN apt-get remove -y build-essential curl git && \
apt-get -y autoremove && \
rm -rf /var/lib/apt/lists/*
EXPOSE 9000 9001
CMD ["sh", "-c", "${GOPATH}/bin/minio"]