Dockerfile: builds an image from master

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-03-10 14:08:38 -05:00
parent 044385dad7
commit 4b75c60819
Signed by: vbatts
GPG Key ID: 10937E57733F1362
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
FROM fedora
ENV GOPATH /usr/local
EXPOSE 7777
RUN dnf install -y golang git && \
RUN dnf install -y golang git bzr && \
go get github.com/vbatts/imgsrv && \
rm -rf /usr/local/src /usr/local/pkg && \
dnf remove -y golang git
dnf remove -y golang git bzr
ENTRYPOINT ["/usr/local/bin/imgsrv"]