Skip to content

Commit 234c1b6

Browse files
committed
update makefile readme and dockerfile
1 parent 906c875 commit 234c1b6

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

Docker/Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
FROM php:7.1-cli
1+
FROM php:7.1.14-cli
22

33
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
4-
&& rm -fr /root/.composer
4+
&& rm -fr /root/.composer \
5+
&& apt-get update \
6+
&& apt-get install -y zlib1g-dev \
7+
&& docker-php-ext-install zip
58

69
RUN apt-get update && apt-get install -y git
710

Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ start:
88
stop:
99
@-$(CONSOLE) stop
1010
build:
11-
$(CONSOLE) build --pull
11+
$(CONSOLE) build --pull
12+
run-tests:
13+
$(CONSOLE) run --service-ports --rm cli php vendor/bin/rest-control run

README

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1-
REST-Control Standalone application - Project in progress
1+
## Standalone testing application for RestControl
22

3-
Standalone application for testing and validation REST services.
3+
## Installation
4+
```
5+
make build
6+
```
7+
8+
## Usage
9+
```
10+
#Run all tests
11+
make run-tests
12+
```

0 commit comments

Comments
 (0)