From 221d663ea966445931530ab79e9fa97907ca7960 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Tue, 28 May 2019 15:04:58 +0200 Subject: Permit to host healtchecks This patch adds an optional container which host healthchecks images. --- healthcheck/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 healthcheck/Dockerfile (limited to 'healthcheck/Dockerfile') diff --git a/healthcheck/Dockerfile b/healthcheck/Dockerfile new file mode 100644 index 0000000..b34fb79 --- /dev/null +++ b/healthcheck/Dockerfile @@ -0,0 +1,13 @@ +FROM bitnami/minideb:stretch + +RUN apt-get update && apt-get -y install git +RUN git clone https://github.com/BayLibre/lava-healthchecks-binary.git + +FROM nginx:mainline-alpine + +COPY port.conf /etc/nginx/conf.d/ + +COPY --from=0 /lava-healthchecks-binary/mainline /usr/share/nginx/html/mainline/ +COPY --from=0 lava-healthchecks-binary/images /usr/share/nginx/html/images/ +COPY --from=0 lava-healthchecks-binary/next /usr/share/nginx/html/next/ +COPY --from=0 lava-healthchecks-binary/stable /usr/share/nginx/html/stable/ -- cgit 1.2.3-korg