Skip to content

Commit 8ce79db

Browse files
authored
Merge pull request #54 from Ardenexal/claude/create-composer-lock-OMTlo
fix: add zip extension to Dockerfile for Composer dist downloads Composer requires the zip extension to download packages from dist. Without it the install fails with "zip extension and unzip/7z commands are both missing" and falls back to git which is also absent. https://claude.ai/code/session_016uoaNn7tWACKwy6BgpDaRF
2 parents d2a6f20 + 813ee04 commit 8ce79db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

demo/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM dunglas/frankenphp:1-php8.5-bookworm
22

33
# Install extensions not already present in the base image
44
# (dom, xml, xmlwriter, xmlreader, simplexml, mbstring, ctype, iconv are pre-installed)
5-
RUN install-php-extensions bcmath intl opcache
5+
RUN install-php-extensions bcmath intl opcache zip
66

77
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
88

0 commit comments

Comments
 (0)