diff options
author | VirtualTam <virtualtam@flibidi.net> | 2017-05-30 23:45:17 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2017-09-18 21:13:59 +0200 |
commit | d691604080cc920e7d1d7ad5c98f4e3fae779524 (patch) | |
tree | 56a576fa9350f468c9fcfa7db9f8e2ed8e4ff2df /docker/test/alpine36 | |
parent | ceb738c59163b47e9c875764c9d3223bbc1eba24 (diff) | |
download | Shaarli-d691604080cc920e7d1d7ad5c98f4e3fae779524.tar.gz Shaarli-d691604080cc920e7d1d7ad5c98f4e3fae779524.tar.zst Shaarli-d691604080cc920e7d1d7ad5c98f4e3fae779524.zip |
docker: add alpine,debian,ubuntu test images
Relates to https://github.com/shaarli/Shaarli/issues/843
Added:
- Makefile target to run commands in a Docker test context
- Docker images to run Shaarli test suites:
- Alpine 3.6
- Debian 8
- Debian 9
- Ubuntu 16.04
- Documentation
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'docker/test/alpine36')
-rw-r--r-- | docker/test/alpine36/Dockerfile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/docker/test/alpine36/Dockerfile b/docker/test/alpine36/Dockerfile new file mode 100644 index 00000000..fa84f6e2 --- /dev/null +++ b/docker/test/alpine36/Dockerfile | |||
@@ -0,0 +1,34 @@ | |||
1 | FROM alpine:3.6 | ||
2 | MAINTAINER Shaarli Community | ||
3 | |||
4 | RUN apk --update --no-cache add \ | ||
5 | ca-certificates \ | ||
6 | curl \ | ||
7 | make \ | ||
8 | php7 \ | ||
9 | php7-ctype \ | ||
10 | php7-curl \ | ||
11 | php7-dom \ | ||
12 | php7-gd \ | ||
13 | php7-iconv \ | ||
14 | php7-intl \ | ||
15 | php7-json \ | ||
16 | php7-mbstring \ | ||
17 | php7-openssl \ | ||
18 | php7-phar \ | ||
19 | php7-session \ | ||
20 | php7-simplexml \ | ||
21 | php7-tokenizer \ | ||
22 | php7-xdebug \ | ||
23 | php7-xml \ | ||
24 | php7-zlib \ | ||
25 | rsync | ||
26 | |||
27 | RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | ||
28 | |||
29 | RUN mkdir /shaarli | ||
30 | WORKDIR /shaarli | ||
31 | VOLUME /shaarli | ||
32 | |||
33 | ENTRYPOINT ["make"] | ||
34 | CMD [] | ||