mirror of
https://github.com/vbatts/imgsrv.git
synced 2024-12-24 23:06:31 +00:00
Dockerfile: updates
This commit is contained in:
parent
2878bb123b
commit
69de1a14b0
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
@ -1,8 +1,8 @@
|
|||
FROM fedora
|
||||
RUN dnf install -y golang
|
||||
RUN mkdir -p /usr/local/src/github.com/vbatts/
|
||||
ENV GOPATH=/usr/local
|
||||
ADD ./ /usr/local/src/github.com/vbatts/imgsrv/
|
||||
RUN go install github.com/vbatts/imgsrv
|
||||
ENV GOPATH /usr/local
|
||||
EXPOSE 7777
|
||||
RUN dnf install -y golang git && \
|
||||
go get github.com/vbatts/imgsrv && \
|
||||
rm -rf /usr/local/src /usr/local/pkg && \
|
||||
dnf remove -y golang git
|
||||
ENTRYPOINT ["/usr/local/bin/imgsrv"]
|
||||
|
|
Loading…
Reference in a new issue