mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
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:
parent
b9e495e228
commit
e108161f60
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue