File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,13 @@ FROM $BASE_IMAGE
44# For being able to optimize images as part of theme compilation, we install
55# extra tools here - in a non-interactive way, also trying to avoid extra
66# packages that would increase the image size.
7- RUN DEBIAN_FRONTEND=noninteractive apt-get --fix-missing update || true
8- RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests optipng jpegoptim
7+ RUN set -eux; \
8+ apt-get update; \
9+ DEBIAN_FRONTEND=noninteractive apt-get install -y \
10+ -o Dpkg::Options::="--force-confold" \
11+ --no-install-recommends \
12+ --no-install-suggests \
13+ optipng \
14+ jpegoptim; \
15+ apt-get clean; \
16+ rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments