From 7e0086f975fe33cc160cb6d7c52d8f5f32b4a97f Mon Sep 17 00:00:00 2001 From: e7d Date: Fri, 23 Feb 2018 17:42:43 +0100 Subject: [PATCH] Add dumb-init back and add bash dependency to Alpine container --- Dockerfile.alpine | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 83c6f7f30..f0e543f0a 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -6,7 +6,7 @@ VOLUME /config ENV DOCKERIZE_VERSION=v0.6.0 RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \ - && apk --no-cache add ip6tables ufw@testing openvpn shadow transmission-daemon \ + && apk --no-cache add bash dumb-init ip6tables ufw@testing openvpn shadow transmission-daemon \ && echo "Install dockerize $DOCKERIZE_VERSION" \ && wget -qO- https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz | tar xz -C /usr/bin \ && mkdir -p /opt/transmission-ui/combustion-release /opt/transmission-ui/kettu \ @@ -108,4 +108,4 @@ ENV OPENVPN_USERNAME=**None** \ # Expose port and run EXPOSE 9091 -CMD ["sh", "/etc/openvpn/start.sh"] +CMD ["dumb-init", "/etc/openvpn/start.sh"]