aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker/test/debian8/Dockerfile
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2017-05-30 23:45:17 +0200
committerVirtualTam <virtualtam@flibidi.net>2017-09-18 21:13:59 +0200
commitd691604080cc920e7d1d7ad5c98f4e3fae779524 (patch)
tree56a576fa9350f468c9fcfa7db9f8e2ed8e4ff2df /docker/test/debian8/Dockerfile
parentceb738c59163b47e9c875764c9d3223bbc1eba24 (diff)
downloadShaarli-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/debian8/Dockerfile')
-rw-r--r--docker/test/debian8/Dockerfile35
1 files changed, 35 insertions, 0 deletions
diff --git a/docker/test/debian8/Dockerfile b/docker/test/debian8/Dockerfile
new file mode 100644
index 00000000..eaa34e9b
--- /dev/null
+++ b/docker/test/debian8/Dockerfile
@@ -0,0 +1,35 @@
1FROM debian:jessie
2MAINTAINER Shaarli Community
3
4ENV TERM dumb
5ENV DEBIAN_FRONTEND noninteractive
6ENV LANG en_US.UTF-8
7ENV LANGUAGE en_US:en
8
9RUN apt-get update \
10 && apt-get install --no-install-recommends -y \
11 ca-certificates \
12 curl \
13 locales \
14 make \
15 php5 \
16 php5-curl \
17 php5-gd \
18 php5-intl \
19 php5-xdebug \
20 rsync \
21 && apt-get clean
22
23RUN locale-gen en_US.UTF-8 \
24 && locale-gen de_DE.UTF-8 \
25 && locale-gen fr_FR.UTF-8
26
27ADD https://getcomposer.org/composer.phar /usr/local/bin/composer
28RUN chmod 755 /usr/local/bin/composer
29
30RUN mkdir /shaarli
31WORKDIR /shaarli
32VOLUME /shaarli
33
34ENTRYPOINT ["make"]
35CMD []