-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Graham Campbell <hello@gjcampbell.co.uk>
- Loading branch information
1 parent
1d8c77e
commit 9999b78
Showing
4 changed files
with
34 additions
and
10 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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM php:8.3-rc-alpine | ||
|
||
LABEL org.opencontainers.image.url="https://github.com/cloudevents/sdk-php/tree/main/hack/8.3.Dockerfile" \ | ||
org.opencontainers.image.documentation="https://github.com/cloudevents/sdk-php/tree/main/hack/README.md" \ | ||
org.opencontainers.image.source="https://github.com/cloudevents/sdk-php" \ | ||
org.opencontainers.image.vendor="CloudEvent" \ | ||
org.opencontainers.image.title="PHP 8.3" \ | ||
org.opencontainers.image.description="PHP 8.3 test environment for cloudevents/sdk-php" | ||
|
||
COPY --chown=www-data:www-data install-composer /usr/local/bin/install-composer | ||
RUN chmod +x /usr/local/bin/install-composer \ | ||
&& /usr/local/bin/install-composer \ | ||
&& rm /usr/local/bin/install-composer | ||
|
||
RUN apk update \ | ||
&& apk --no-cache upgrade \ | ||
&& apk add --no-cache bash ca-certificates git libzip-dev \ | ||
&& rm -rf /var/www/html /tmp/pear \ | ||
&& chown -R www-data:www-data /var/www | ||
|
||
WORKDIR /var/www | ||
ENTRYPOINT ["/var/www/vendor/bin/phpunit"] |