1
0
mirror of https://github.com/minio/minio synced 2024-07-05 17:08:43 +00:00

New Dockerfile for building & running minio inside Docker (inc. autobuild support) (#1473) (#1485)

This commit is contained in:
Rajiv Makhijani 2016-05-04 17:07:19 -07:00 committed by Harshavardhana
parent 82113b747c
commit 9dccbd6478

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM golang:1.6
RUN mkdir -p /go/src/app
WORKDIR /go/src/app
COPY . /go/src/app
RUN go-wrapper download
RUN go-wrapper install
ENV ALLOW_CONTAINER_ROOT=1
RUN mkdir -p /export/docker && cp /go/src/app/Docker.md /export/docker/
EXPOSE 9000
ENTRYPOINT ["go-wrapper", "run", "server"]
CMD ["/export"]