Răsfoiți Sursa

base: add testing tools if JITSI_RELEASE is unstable

netaskd 5 ani în urmă
părinte
comite
046145d95e
1 a modificat fișierele cu 7 adăugiri și 1 ștergeri
  1. 7 1
      base/Dockerfile

+ 7 - 1
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" ]