base: add testing tools if JITSI_RELEASE is unstable

This commit is contained in:
netaskd 2019-06-17 19:55:59 +03:00 committed by Saúl Ibarra Corretgé
parent bb1d386ebc
commit 046145d95e
1 changed files with 7 additions and 1 deletions

View File

@ -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" ]