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.pull/5091/head
parent
b9e495e228
commit
e108161f60
|
@ -59,12 +59,12 @@ RUN mkdir -p "${EP_DIR}" && chown etherpad:etherpad "${EP_DIR}"
|
||||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199
|
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199
|
||||||
RUN [ -n "${INSTALL_ABIWORD}${INSTALL_SOFFICE}" ] || exit 0; \
|
RUN [ -n "${INSTALL_ABIWORD}${INSTALL_SOFFICE}" ] || exit 0; \
|
||||||
mkdir -p /usr/share/man/man1 && \
|
mkdir -p /usr/share/man/man1 && \
|
||||||
apt update && \
|
apt-get -qq update && \
|
||||||
apt -y install \
|
apt-get -qq install \
|
||||||
${INSTALL_ABIWORD:+abiword} \
|
${INSTALL_ABIWORD:+abiword} \
|
||||||
${INSTALL_SOFFICE:+libreoffice} \
|
${INSTALL_SOFFICE:+libreoffice} \
|
||||||
&& \
|
&& \
|
||||||
apt clean && \
|
apt-get -qq clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
USER etherpad
|
USER etherpad
|
||||||
|
|
Loading…
Reference in New Issue