From 2753bf22576dad9cfa3ce177382d1f968d3b359b Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Fri, 3 Jan 2025 19:18:35 +0000 Subject: [PATCH] Apply suggestion from @TimWolla on apt install --- docs/usage.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index 095a086..ac4e717 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -51,9 +51,10 @@ installed. FROM php:8.4-cli # Add the `unzip` package which PIE uses to extract .zip files -RUN apt-get -y update \ - && apt-get install -y --no-install-recommends unzip \ - && rm -rf /var/lib/apt/lists/* +RUN export DEBIAN_FRONTEND="noninteractive"; \ + set -eux; \ + apt-get update; apt-get install -y --no-install-recommends unzip; \ + rm -rf /var/lib/apt/lists/* # Copy the pie.phar from the latest `:bin` release COPY --from=ghcr.io/php/pie:bin /pie /usr/bin/pie