-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
42 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
php-input-filter | ||
=== | ||
|
||
2.0.2 [2023-12-30] | ||
--- | ||
|
||
- Added supporting of PHP 8.3. | ||
|
||
2.0.1 [2023-01-29] | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
zend_extension=xdebug | ||
xdebug.mode=debug,develop | ||
xdebug.log=/home/php-cli/php-xdebug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,28 @@ | ||
FROM php:8.2-cli-alpine | ||
FROM php:8.3-cli-alpine | ||
|
||
ARG GITHUB_OAUTH_TOKEN="" | ||
ARG USER_UID="" | ||
ARG USER_GID="" | ||
|
||
RUN apk add --no-cache $PHPIZE_DEPS && apk add --update linux-headers | ||
|
||
RUN pecl install xdebug && docker-php-ext-enable xdebug | ||
RUN rm -f /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini | ||
COPY 50_xdebug.ini /usr/local/etc/php/conf.d/ | ||
|
||
RUN curl -sS https://getcomposer.org/installer | php -- --2 --install-dir=/usr/bin --filename=composer | ||
ARG GITHUB_OAUTH_TOKEN=false | ||
RUN if [ ${GITHUB_OAUTH_TOKEN} != false ]; then \ | ||
composer config -g github-oauth.github.com ${GITHUB_OAUTH_TOKEN} \ | ||
;fi | ||
RUN addgroup -g $USER_GID php-cli \ | ||
&& adduser -u $USER_UID -G php-cli -s /bin/sh -D php-cli | ||
|
||
USER php-cli | ||
|
||
RUN export COMPOSER_DISABLE_XDEBUG_WARN=1 | ||
ENV PATH="/home/php-cli/.local/bin:/home/php-cli/.composer/vendor/bin:${PATH}" | ||
|
||
RUN mkdir -p /home/php-cli/.local/bin && \ | ||
curl -sS https://getcomposer.org/installer | \ | ||
/usr/local/bin/php -- --2 --install-dir=/home/php-cli/.local/bin --filename=composer | ||
|
||
RUN if [ -n "${GITHUB_OAUTH_TOKEN}" ]; then \ | ||
composer config -g github-oauth.github.com ${GITHUB_OAUTH_TOKEN} \ | ||
;fi | ||
|
||
CMD ["php", "-a"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters