mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
fix ggr
This commit is contained in:
@@ -2,16 +2,20 @@
|
|||||||
# Dockerfile for ggr
|
# Dockerfile for ggr
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM golang:alpine
|
|
||||||
RUN apk add --no-cache git
|
|
||||||
RUN go get -v github.com/kelseyhightower/confd
|
|
||||||
|
|
||||||
FROM aerokube/ggr
|
FROM aerokube/ggr
|
||||||
RUN apk add --no-cache curl libxml2-utils supervisor
|
MAINTAINER EasyPi Software Foundation
|
||||||
COPY --from=0 /go/bin/confd /usr/bin/
|
|
||||||
|
RUN set -xe \
|
||||||
|
&& apk add --no-cache curl libxml2-utils supervisor \
|
||||||
|
&& curl -sSL -o /usr/bin/confd https://github.com/kelseyhightower/confd/releases/download/v0.16.0/confd-0.16.0-linux-amd64 \
|
||||||
|
&& chmod +x /usr/bin/confd
|
||||||
|
|
||||||
COPY data/confd /etc/confd
|
COPY data/confd /etc/confd
|
||||||
COPY data/supervisor.d /etc/supervisor.d
|
COPY data/supervisor.d /etc/supervisor.d
|
||||||
COPY data/grid-router /etc/grid-router
|
COPY data/grid-router /etc/grid-router
|
||||||
|
|
||||||
EXPOSE 4444
|
EXPOSE 4444
|
||||||
|
|
||||||
ENTRYPOINT ["supervisord", "-n", "-c", "/etc/supervisord.conf"]
|
ENTRYPOINT ["supervisord", "-n", "-c", "/etc/supervisord.conf"]
|
||||||
|
|
||||||
HEALTHCHECK CMD ["curl", "-f", "http://127.0.0.1:4444/ping"]
|
HEALTHCHECK CMD ["curl", "-f", "http://127.0.0.1:4444/ping"]
|
||||||
|
|||||||
Reference in New Issue
Block a user