From e108161f60a1991372aa340cdf6f6c977cfc9666 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Thu, 17 Jun 2021 21:05:49 -0400 Subject: [PATCH] Docker: Use `apt-get` instead of `apt` This silences the following warning: > WARNING: apt does not have a stable CLI interface. Use with caution > in scripts. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 27681e702..f83c17cd0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,12 +59,12 @@ RUN mkdir -p "${EP_DIR}" && chown etherpad:etherpad "${EP_DIR}" # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199 RUN [ -n "${INSTALL_ABIWORD}${INSTALL_SOFFICE}" ] || exit 0; \ mkdir -p /usr/share/man/man1 && \ - apt update && \ - apt -y install \ + apt-get -qq update && \ + apt-get -qq install \ ${INSTALL_ABIWORD:+abiword} \ ${INSTALL_SOFFICE:+libreoffice} \ && \ - apt clean && \ + apt-get -qq clean && \ rm -rf /var/lib/apt/lists/* USER etherpad