Skip to content

Commit

Permalink
Apply suggestion from @TimWolla on apt install
Browse files Browse the repository at this point in the history
  • Loading branch information
asgrim committed Jan 3, 2025
1 parent 1898682 commit 2753bf2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2753bf2

Please sign in to comment.