Skip to content

Commit

Permalink
Removed unnecessary dependencies in PHP-FPM Docker Image
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Dec 11, 2023
1 parent 8c260bd commit 4b68201
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ FROM php:${VERSION}
# Install dependencies
ARG VERSION
RUN if [ $VERSION = "apache" ]; then \
apt update && apt install git cron -y; \
else \
echo https://dl-4.alpinelinux.org/alpine/latest-stable/community/ >> /etc/apk/repositories && \
apk update && \
apk add --no-cache git; \
apt update && apt install cron -y; \
fi

# Install some PHP extensions
Expand Down

0 comments on commit 4b68201

Please sign in to comment.