Skip to content

Commit c8c619a

Browse files
committed
Update the docker exec with a separate bash script
1 parent a07213e commit c8c619a

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

.ci/Dockerfile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
ARG PHP_VERSION=7.4-cli
22
FROM php:${PHP_VERSION}
33

4-
# Create app directory
5-
WORKDIR /usr/src/app
6-
74
# Install git
85
RUN apt-get update && \
96
apt-get install -y --no-install-recommends git
@@ -14,8 +11,8 @@ RUN apt-get install -y \
1411
zip \
1512
&& docker-php-ext-install zip
1613

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
1916

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

.ci/run-repository.sh

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ docker run \
4242
--name elasticsearch-php \
4343
--rm \
4444
elastic/elasticsearch-php
45-
$script_path/run-yaml-tests.sh
45+
/bin/bash .ci/yaml-tests.sh

.ci/run-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ if [[ -n "$RUNSCRIPTS" ]]; then
2020
fi
2121

2222
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.

0 commit comments

Comments
 (0)