mirror of
https://github.com/vbatts/imgsrv.git
synced 2024-12-26 15:56:31 +00:00
9 lines
244 B
Text
9 lines
244 B
Text
|
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
|
||
|
EXPOSE 7777
|
||
|
ENTRYPOINT ["/usr/local/bin/imgsrv"]
|