base: fail to start the container if the init script fails

This commit is contained in:
Saúl Ibarra Corretgé 2020-03-31 11:17:45 +02:00
parent 7c0c795fa7
commit 3524a526be

View File

@ -2,7 +2,9 @@ FROM debian:stretch-slim
ARG JITSI_RELEASE=stable
ADD https://github.com/just-containers/s6-overlay/releases/download/v1.21.4.0/s6-overlay-amd64.tar.gz /tmp/s6-overlay.tar.gz
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
ADD https://github.com/just-containers/s6-overlay/releases/download/v1.22.1.0/s6-overlay-amd64.tar.gz /tmp/s6-overlay.tar.gz
ADD https://download.jitsi.org/jitsi-key.gpg.key /tmp/jitsi.key
ADD https://github.com/subchen/frep/releases/download/v1.3.5/frep-1.3.5-linux-amd64 /usr/bin/frep