Skip to content

Commit

Permalink
Update PHP8 appreciate for new workshop version
Browse files Browse the repository at this point in the history
  • Loading branch information
AydinHassan committed May 11, 2024
1 parent c754586 commit d200dbb
Show file tree
Hide file tree
Showing 20 changed files with 283 additions and 202 deletions.
14 changes: 14 additions & 0 deletions .docker/runtime/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM php:8.3-alpine as build

RUN apk add --no-cache $PHPIZE_DEPS && \
apk add --no-cache linux-headers

RUN docker-php-ext-install sockets

FROM php:8.3-alpine as final

COPY --from=build /usr/local/lib/php /usr/local/lib/php
COPY --from=build /usr/local/etc/php /usr/local/etc/php

RUN apk add git
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
14 changes: 14 additions & 0 deletions .docker/runtime/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: '3.8'

services:
runtime:
image: php8appreciate-runtime
build:
context: .
dockerfile: Dockerfile

volumes:
- type: bind
source: ${SOLUTION}
target: '/solution'

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
],
"require": {
"php": "^8.0",
"php-school/php-workshop": "dev-master"
"php-school/php-workshop": "dev-05-09-remove_temporary_solution_mapper"
},
"require-dev": {
"phpunit/phpunit": "^9",
Expand Down
Loading

0 comments on commit d200dbb

Please sign in to comment.