Skip to content

Commit 22daa64

Browse files
committed
Add executable permissions to PHP binary in base.Dockerfile
- Add --chmod=755 flag to COPY instruction for PHP binary - Ensures proper executable permissions for PHP binary in container
1 parent 98843b9 commit 22daa64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM docker.io/library/debian:12.11
44
ARG PHPVERSION
55
ARG TARGETARCH
66

7-
COPY php${PHPVERSION}-${TARGETARCH}/bin/php /bin/php
7+
COPY --chmod=755 php${PHPVERSION}-${TARGETARCH}/bin/php /bin/php
88

99
COPY --from=composer /composer /usr/local/bin/composer
1010
ENV COMPOSER_ALLOW_SUPERUSER=1

0 commit comments

Comments
 (0)