File tree Expand file tree Collapse file tree 12 files changed +22
-15
lines changed
Expand file tree Collapse file tree 12 files changed +22
-15
lines changed Original file line number Diff line number Diff line change 88
99set -e # Exit on failure
1010
11- # (This file is empty since PHP programs don't use a compile step)
11+ # (This file is empty since PHP programs don't use a compile step)
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ That's all!
2626
2727Note: This section is for stages 2 and beyond.
2828
29- 1 . Ensure you have ` php (7.4 ) ` installed locally
29+ 1 . Ensure you have ` php (8.5 ) ` installed locally
30301 . Run ` ./your_program.sh ` to run your Redis server, which is implemented in
3131 ` app/main.php ` .
32321 . Commit your changes and run ` git push origin master ` to submit your solution
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ debug: false
77# Use this to change the PHP version used to run your code
88# on Codecrafters.
99#
10- # Available versions: php-8.3
11- buildpack : php-8.3
10+ # Available versions: php-8.5
11+ buildpack : php-8.5
Original file line number Diff line number Diff line change 1+ # syntax=docker/dockerfile:1.7-labs
2+ FROM php:8.5-cli-alpine3.22
3+
4+ # For ext-sockets installation
5+ RUN apk add linux-headers=~6.14.2-r0 --no-cache
6+
7+ RUN docker-php-ext-install pcntl sockets
Original file line number Diff line number Diff line change 88
99set -e # Exit on failure
1010
11- # (This file is empty since PHP programs don't use a compile step)
11+ # (This file is empty since PHP programs don't use a compile step)
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ That's all!
2626
2727Note: This section is for stages 2 and beyond.
2828
29- 1 . Ensure you have ` php (7.4 ) ` installed locally
29+ 1 . Ensure you have ` php (8.5 ) ` installed locally
30301 . Run ` ./your_program.sh ` to run your Redis server, which is implemented in
3131 ` app/main.php ` .
32321 . Commit your changes and run ` git push origin master ` to submit your solution
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ debug: false
77# Use this to change the PHP version used to run your code
88# on Codecrafters.
99#
10- # Available versions: php-8.3
11- buildpack : php-8.3
10+ # Available versions: php-8.5
11+ buildpack : php-8.5
Original file line number Diff line number Diff line change 88
99set -e # Exit on failure
1010
11- # (This file is empty since PHP programs don't use a compile step)
11+ # (This file is empty since PHP programs don't use a compile step)
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ That's all!
2626
2727Note: This section is for stages 2 and beyond.
2828
29- 1 . Ensure you have ` php (7.4 ) ` installed locally
29+ 1 . Ensure you have ` php (8.5 ) ` installed locally
30301 . Run ` ./your_program.sh ` to run your Redis server, which is implemented in
3131 ` app/main.php ` .
32321 . Commit your changes and run ` git push origin master ` to submit your solution
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ debug: false
77# Use this to change the PHP version used to run your code
88# on Codecrafters.
99#
10- # Available versions: php-8.3
11- buildpack : php-8.3
10+ # Available versions: php-8.5
11+ buildpack : php-8.5
You can’t perform that action at this time.
0 commit comments