We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3ac7f4 commit 2a9839eCopy full SHA for 2a9839e
Dockerfile
@@ -371,11 +371,11 @@ RUN [ -d /etc/scripts ] && sudo rm -rf /etc/scripts
371
# Apt install commands.
372
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
373
--mount=type=cache,target=/var/lib/apt,sharing=locked \
374
- apt-get update && \
375
- DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
+ sudo apt-get update && \
+ DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --no-install-recommends \
376
php \
377
subversion \
378
- && rm -rf /var/lib/apt/lists/*
+ && sudo rm -rf /var/lib/apt/lists/*
379
380
# Python
381
ENV PYENV_ROOT=/opt/python
0 commit comments