We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5033bd commit 5e8b831Copy full SHA for 5e8b831
Dockerfile
@@ -0,0 +1,5 @@
1
+FROM php:5.6-cli
2
+
3
+RUN mkdir /opt/api-php-lib
4
+RUN docker-php-ext-install pcntl \
5
+ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
docker-compose.yml
@@ -0,0 +1,19 @@
+version: '2'
+services:
+ plesk:
+ image: plesk/plesk:17.0
+ logging:
6
+ driver: none
7
+ tests:
8
+ build: .
9
+ environment:
10
+ REMOTE_URL: https://plesk:8443
11
+ REMOTE_PASSWORD: changeme
12
+ command: bash -c "cd /opt/api-php-lib && composer install && composer test"
13
+ depends_on:
14
+ - plesk
15
+ links:
16
17
+ volumes:
18
+ - .:/opt/api-php-lib
19
0 commit comments