2019-11-02 22:34:23 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for ggr
|
|
|
|
#
|
|
|
|
|
|
|
|
FROM aerokube/ggr
|
2021-05-28 12:37:57 +02:00
|
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-11-02 22:34:23 +02:00
|
|
|
COPY data/confd /etc/confd
|
|
|
|
COPY data/supervisor.d /etc/supervisor.d
|
|
|
|
COPY data/grid-router /etc/grid-router
|
2021-05-28 12:37:57 +02:00
|
|
|
|
2019-11-04 04:05:35 +02:00
|
|
|
EXPOSE 4444
|
2021-05-28 12:37:57 +02:00
|
|
|
|
2019-11-02 22:34:23 +02:00
|
|
|
ENTRYPOINT ["supervisord", "-n", "-c", "/etc/supervisord.conf"]
|
2021-05-28 12:37:57 +02:00
|
|
|
|
2019-11-04 04:05:35 +02:00
|
|
|
HEALTHCHECK CMD ["curl", "-f", "http://127.0.0.1:4444/ping"]
|