浏览代码

base: add testing tools if JITSI_RELEASE is unstable

netaskd 5 年之前
父节点
当前提交
046145d95e
共有 1 个文件被更改,包括 7 次插入1 次删除
  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" ]