Skip to content

Commit dcce570

Browse files
committed
Update PHP8 appreciate for new workshop version
1 parent c754586 commit dcce570

20 files changed

+283
-202
lines changed

.docker/runtime/Dockerfile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM php:8.3-alpine as build
2+
3+
RUN apk add --no-cache $PHPIZE_DEPS && \
4+
apk add --no-cache linux-headers
5+
6+
RUN docker-php-ext-install sockets
7+
8+
FROM php:8.3-alpine as final
9+
10+
COPY --from=build /usr/local/lib/php /usr/local/lib/php
11+
COPY --from=build /usr/local/etc/php /usr/local/etc/php
12+
13+
RUN apk add git
14+
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer

.docker/runtime/docker-compose.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: '3.8'
2+
3+
services:
4+
runtime:
5+
image: php8appreciate-runtime
6+
build:
7+
context: .
8+
dockerfile: Dockerfile
9+
10+
volumes:
11+
- type: bind
12+
source: ${SOLUTION}
13+
target: '/solution'
14+

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"require": {
2424
"php": "^8.0",
25-
"php-school/php-workshop": "dev-master"
25+
"php-school/php-workshop": "dev-05-09-remove_temporary_solution_mapper"
2626
},
2727
"require-dev": {
2828
"phpunit/phpunit": "^9",

0 commit comments

Comments
 (0)