-
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.
- Loading branch information
1 parent
d13515e
commit f2e22c6
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
|
||
psalm: | ||
name: Psalm | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout code | ||
|
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.2-alpine | ||
|
||
LABEL org.opencontainers.image.url="https://github.com/cloudevents/sdk-php/tree/main/hack/8.2.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.2" \ | ||
org.opencontainers.image.description="PHP 8.2 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"] |