1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/ggr/Dockerfile

18 lines
473 B
Docker
Raw Normal View History

2019-11-02 20:34:23 +00:00
#
# Dockerfile for ggr
#
FROM golang:alpine
RUN apk add --no-cache git
RUN go get -v github.com/kelseyhightower/confd
FROM aerokube/ggr
2019-11-04 02:05:35 +00:00
RUN apk add --no-cache curl libxml2-utils supervisor
2019-11-02 20:34:23 +00:00
COPY --from=0 /go/bin/confd /usr/bin/
COPY data/confd /etc/confd
COPY data/supervisor.d /etc/supervisor.d
COPY data/grid-router /etc/grid-router
2019-11-04 02:05:35 +00:00
EXPOSE 4444
2019-11-02 20:34:23 +00:00
ENTRYPOINT ["supervisord", "-n", "-c", "/etc/supervisord.conf"]
2019-11-04 02:05:35 +00:00
HEALTHCHECK CMD ["curl", "-f", "http://127.0.0.1:4444/ping"]