From 5f0bbadda21f84b09b5be1bc92cf212596eacf95 Mon Sep 17 00:00:00 2001 From: Aleks Date: Tue, 14 Aug 2018 22:23:22 +0200 Subject: [PATCH 1/2] Add /ingress-controller Add the directory `/ingress-controller` because in OpenShift can't the pod create the root dir fix #205 --- rootfs/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rootfs/Dockerfile b/rootfs/Dockerfile index 0f430531e..9ed92ce0f 100644 --- a/rootfs/Dockerfile +++ b/rootfs/Dockerfile @@ -19,7 +19,9 @@ RUN apk --no-cache add socat openssl ARG DUMB_INIT_SHA256=81231da1cd074fdc81af62789fead8641ef3f24b6b07366a1c34e5b059faf363 RUN wget -O/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64\ && echo "$DUMB_INIT_SHA256 /dumb-init" | sha256sum -c -\ - && chmod +x /dumb-init + && chmod +x /dumb-init \ + && mkdir /ingress-controller \ + && chgrp 0 /ingress-controller \ COPY . / From b553064ff86e4d1d04d1cd1e0c2bb6e657543522 Mon Sep 17 00:00:00 2001 From: Aleks Date: Sun, 19 Aug 2018 22:04:46 +0200 Subject: [PATCH 2/2] Updated as wished --- rootfs/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rootfs/Dockerfile b/rootfs/Dockerfile index 9ed92ce0f..7fccdcc62 100644 --- a/rootfs/Dockerfile +++ b/rootfs/Dockerfile @@ -20,8 +20,7 @@ ARG DUMB_INIT_SHA256=81231da1cd074fdc81af62789fead8641ef3f24b6b07366a1c34e5b059f RUN wget -O/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64\ && echo "$DUMB_INIT_SHA256 /dumb-init" | sha256sum -c -\ && chmod +x /dumb-init \ - && mkdir /ingress-controller \ - && chgrp 0 /ingress-controller \ + && mkdir /ingress-controller COPY . /