mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 22:57:11 -04:00
Do not cache packages during installation
This commit is contained in:
parent
bf7cd11b59
commit
ec08dd5554
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ ARG INSTALL_ABIWORD=
|
|||
ARG INSTALL_SOFFICE=
|
||||
|
||||
# Install dependencies required for modifying access.
|
||||
RUN apk add shadow bash
|
||||
RUN apk add --no-cache shadow bash
|
||||
# Follow the principle of least privilege: run as unprivileged user.
|
||||
#
|
||||
# Running as non-root enables running this image in platforms like OpenShift
|
||||
|
@ -93,7 +93,7 @@ RUN \
|
|||
mkdir -p /usr/share/man/man1 && \
|
||||
npm install pnpm -g && \
|
||||
apk update && apk upgrade && \
|
||||
apk add \
|
||||
apk add --no-cache \
|
||||
ca-certificates \
|
||||
curl \
|
||||
git \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue