mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-27 02:09:06 +02:00
18 lines
494 B
Docker
18 lines
494 B
Docker
|
#
|
||
|
# Dockerfile for ggr-ui
|
||
|
#
|
||
|
|
||
|
FROM golang:alpine
|
||
|
RUN apk add --no-cache git
|
||
|
RUN go get -v github.com/kelseyhightower/confd
|
||
|
|
||
|
FROM aerokube/ggr-ui:latest-release
|
||
|
RUN apk add --no-cache curl libxml2-utils supervisor
|
||
|
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
|
||
|
EXPOSE 8888
|
||
|
ENTRYPOINT ["supervisord", "-n", "-c", "/etc/supervisord.conf"]
|
||
|
HEALTHCHECK CMD ["curl", "-f", "http://127.0.0.1:8888/ping"]
|