fix: remove broken apk del PHPIZE_DEPS and unnecessary build deps from Dockerfile
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
idevakk
2026-03-09 23:44:12 +05:30
parent 1e4edb6de2
commit c0a4cd2b45

View File

@@ -30,11 +30,9 @@ COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr
RUN apk add --no-cache \
nginx \
supervisor \
git \
linux-headers \
openssl-dev
git
# Install PHP extensions
# Install PHP extensions (handles all build deps automatically)
RUN install-php-extensions \
pdo_mysql \
gd \
@@ -62,10 +60,6 @@ COPY docker/entrypoint.sh /usr/local/bin/entrypoint.sh
# Make entrypoint executable
RUN chmod +x /usr/local/bin/entrypoint.sh
# Cleanup
RUN apk del $PHPIZE_DEPS \
&& rm -rf /var/cache/apk/*
EXPOSE 80
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]