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.
This commit is contained in:
Richard Hansen 2021-06-17 21:05:49 -04:00
parent b9e495e228
commit e108161f60
1 changed files with 3 additions and 3 deletions

View File

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