Skip to content

Commit

Permalink
Merge pull request #108 from llaville/dockerimage
Browse files Browse the repository at this point in the history
Fix passing arguments and options on Docker image
  • Loading branch information
overtrue committed Nov 23, 2021
2 parents 608a8ff + c0be0b0 commit a99fa70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Expand Up @@ -9,4 +9,5 @@ COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
RUN cp /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini

WORKDIR /workdir
ENTRYPOINT ["/entrypoint.sh"]
4 changes: 2 additions & 2 deletions entrypoint.sh
@@ -1,5 +1,5 @@
#!/bin/sh -l

set -xe
set -e

/root/.composer/vendor/bin/phplint ${INPUT_PATH} ${INPUT_OPTIONS}
exec /root/.composer/vendor/bin/phplint "$@"

0 comments on commit a99fa70

Please sign in to comment.