File tree Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
ARG PHP_VERSION=7.4-cli
2
2
FROM php:${PHP_VERSION}
3
3
4
- # Create app directory
5
- WORKDIR /usr/src/app
6
-
7
4
# Install git
8
5
RUN apt-get update && \
9
6
apt-get install -y --no-install-recommends git
@@ -14,8 +11,8 @@ RUN apt-get install -y \
14
11
zip \
15
12
&& docker-php-ext-install zip
16
13
17
- # Install composer
18
- RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
14
+ # Print PHP version
15
+ RUN php -v
19
16
20
- # Install prestissimo pluing for composer
21
- RUN composer global require hirak/prestissimo
17
+ # Install composer
18
+ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
Original file line number Diff line number Diff line change @@ -42,4 +42,4 @@ docker run \
42
42
--name elasticsearch-php \
43
43
--rm \
44
44
elastic/elasticsearch-php
45
- $script_path /run- yaml-tests.sh
45
+ /bin/bash .ci/ yaml-tests.sh
Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ if [[ -n "$RUNSCRIPTS" ]]; then
20
20
fi
21
21
22
22
echo -e " \033[1m>>>>> Repository specific tests >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
23
- bash .ci/run-repository.sh
23
+ bash .ci/run-repository.sh
File renamed without changes.
You can’t perform that action at this time.
0 commit comments