Skip to content

Commit a46dbbf

Browse files
committed
fix: make phar in docker
1 parent 39d0ac2 commit a46dbbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ FROM php:8.3-cli-bullseye AS phpdraft-build
2929
COPY --from=composer /usr/src/phpdraft /usr/src/phpdraft
3030
WORKDIR /usr/src/phpdraft
3131

32-
RUN ./vendor/bin/phing phar-nightly
32+
RUN php -d phar.readonly=0 ./vendor/bin/phing phar-nightly
33+
RUN ls -al /usr/src/phpdraft/build/out/
3334
COPY /usr/src/phpdraft/build/out/phpdraft-nightly.phar /usr/local/bin/phpdraft
3435
RUN chmod +x /usr/local/bin/phpdraft
3536

0 commit comments

Comments
 (0)