-
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.
Update PHP8 appreciate for new workshop version
- Loading branch information
1 parent
c754586
commit dcce570
Showing
20 changed files
with
283 additions
and
202 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
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 |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: '3.8' | ||
|
||
services: | ||
runtime: | ||
image: php8appreciate-runtime | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
|
||
volumes: | ||
- type: bind | ||
source: ${SOLUTION} | ||
target: '/solution' | ||
|
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
Oops, something went wrong.