From 046145d95e9ca48c77aee60d6c47244b0a30685b Mon Sep 17 00:00:00 2001 From: netaskd Date: Mon, 17 Jun 2019 19:55:59 +0300 Subject: [PATCH] base: add testing tools if JITSI_RELEASE is unstable --- base/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/base/Dockerfile b/base/Dockerfile index 2e00afa..1d8396d 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -19,8 +19,14 @@ RUN \ echo "deb http://ftp.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/backports.list && \ apt-dpkg-wrap apt-get update && \ apt-dpkg-wrap apt-get dist-upgrade -y && \ - apt-dpkg-wrap apt-get autoremove -y --purge gnupg && \ apt-cleanup && \ chmod +x /usr/bin/frep +RUN \ + [[ "$JITSI_RELEASE" == "unstable" ]] && \ + apt-dpkg-wrap apt-get update && \ + apt-dpkg-wrap apt-get install -y jq procps curl vim iputils-ping net-tools && \ + apt-cleanup || \ + true + ENTRYPOINT [ "/init" ]