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:
parent
044385dad7
commit
4b75c60819
1 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue