1
0
Fork 0
mirror of https://github.com/vbatts/imgsrv.git synced 2024-11-30 12:05:42 +00:00

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

View file

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