mirror of
https://github.com/vbatts/imgsrv.git
synced 2024-12-26 15:56: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
|
FROM fedora
|
||||||
RUN dnf install -y golang
|
ENV GOPATH /usr/local
|
||||||
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
|
|
||||||
EXPOSE 7777
|
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"]
|
ENTRYPOINT ["/usr/local/bin/imgsrv"]
|
||||||
|
|
Loading…
Reference in a new issue