Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
phar.readonly by default is set to "1". This causes the following error:

ERROR: Cannot create phar: phar.readonly is set to 1

When generating a phar. This commit disables readonly, allowing the phar to generate
  • Loading branch information
dejanzelic committed Feb 11, 2021
1 parent 40718a5 commit d54948b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ COPY . /phpggc

WORKDIR /phpggc

RUN chmod +x phpggc
RUN chmod +x phpggc && echo "phar.readonly=0" > $PHP_INI_DIR/php.ini

ENTRYPOINT ["/phpggc/phpggc"]
ENTRYPOINT ["/phpggc/phpggc"]

0 comments on commit d54948b

Please sign in to comment.