File tree Expand file tree Collapse file tree 3 files changed +27
-3
lines changed Expand file tree Collapse file tree 3 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 49
49
" DOCKER_BUILDKIT=1 docker build -t cloudevents/sdk-php:8.0-tests -f hack/8.0.Dockerfile hack" ,
50
50
" DOCKER_BUILDKIT=1 docker build -t cloudevents/sdk-php:8.1-tests -f hack/8.1.Dockerfile hack" ,
51
51
" DOCKER_BUILDKIT=1 docker build -t cloudevents/sdk-php:8.2-tests -f hack/8.2.Dockerfile hack" ,
52
- " DOCKER_BUILDKIT=1 docker build -t cloudevents/sdk-php:8.3-tests -f hack/8.3.Dockerfile hack"
52
+ " DOCKER_BUILDKIT=1 docker build -t cloudevents/sdk-php:8.3-tests -f hack/8.3.Dockerfile hack" ,
53
+ " DOCKER_BUILDKIT=1 docker build -t cloudevents/sdk-php:8.4-tests -f hack/8.4.Dockerfile hack"
53
54
],
54
55
"tests-docker" : [
55
56
" docker run -it -v $(pwd):/var/www cloudevents/sdk-php:7.4-tests --coverage-html=coverage" ,
56
57
" docker run -it -v $(pwd):/var/www cloudevents/sdk-php:8.0-tests" ,
57
58
" docker run -it -v $(pwd):/var/www cloudevents/sdk-php:8.1-tests" ,
58
59
" docker run -it -v $(pwd):/var/www cloudevents/sdk-php:8.2-tests" ,
59
- " docker run -it -v $(pwd):/var/www cloudevents/sdk-php:8.3-tests"
60
+ " docker run -it -v $(pwd):/var/www cloudevents/sdk-php:8.3-tests" ,
61
+ " docker run -it -v $(pwd):/var/www cloudevents/sdk-php:8.4-tests"
60
62
]
61
63
},
62
64
"scripts-descriptions" : {
Original file line number Diff line number Diff line change 1
- FROM php:8.3-rc- alpine
1
+ FROM php:8.3-alpine
2
2
3
3
LABEL org.opencontainers.image.url="https://github.com/cloudevents/sdk-php/tree/main/hack/8.3.Dockerfile" \
4
4
org.opencontainers.image.documentation="https://github.com/cloudevents/sdk-php/tree/main/hack/README.md" \
Original file line number Diff line number Diff line change
1
+ FROM php:8.4-alpine
2
+
3
+ LABEL org.opencontainers.image.url="https://github.com/cloudevents/sdk-php/tree/main/hack/8.4.Dockerfile" \
4
+ org.opencontainers.image.documentation="https://github.com/cloudevents/sdk-php/tree/main/hack/README.md" \
5
+ org.opencontainers.image.source="https://github.com/cloudevents/sdk-php" \
6
+ org.opencontainers.image.vendor="CloudEvent" \
7
+ org.opencontainers.image.title="PHP 8.4" \
8
+ org.opencontainers.image.description="PHP 8.4 test environment for cloudevents/sdk-php"
9
+
10
+ COPY --chown=www-data:www-data install-composer /usr/local/bin/install-composer
11
+ RUN chmod +x /usr/local/bin/install-composer \
12
+ && /usr/local/bin/install-composer \
13
+ && rm /usr/local/bin/install-composer
14
+
15
+ RUN apk update \
16
+ && apk --no-cache upgrade \
17
+ && apk add --no-cache bash ca-certificates git libzip-dev \
18
+ && rm -rf /var/www/html /tmp/pear \
19
+ && chown -R www-data:www-data /var/www
20
+
21
+ WORKDIR /var/www
22
+ ENTRYPOINT ["/var/www/vendor/bin/phpunit" ]
You can’t perform that action at this time.
0 commit comments