mirror of
https://github.com/hamburghammer/gmon.git
synced 2024-12-22 09:17:40 +01:00
11 lines
No EOL
257 B
Docker
11 lines
No EOL
257 B
Docker
FROM golang AS build
|
|
ENV GO111MODULE="on"
|
|
ENV CGO_ENABLED=0
|
|
RUN go get -u github.com/hamburghammer/gsave@d0802fd3d77160b61cb2303b92642b01f2357d57
|
|
|
|
FROM alpine
|
|
COPY --from=build /go/bin/gsave /usr/bin/
|
|
|
|
ENTRYPOINT [ "gsave" ]
|
|
CMD [ "--verbose" ]
|
|
EXPOSE 8080 |