diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-06-16 23:54:10 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2018-06-16 23:54:10 +0200 |
commit | 1168abb484ce8fd6a524a4849d9d4dd3e0589b20 (patch) | |
tree | fa943007e4bc6b3e99598de6062ebde3bd9e6566 /tests/docker/debian8/Dockerfile | |
parent | 26b0b2022870a540c1a6d54e949c4bdc1486daed (diff) | |
download | Shaarli-1168abb484ce8fd6a524a4849d9d4dd3e0589b20.tar.gz Shaarli-1168abb484ce8fd6a524a4849d9d4dd3e0589b20.tar.zst Shaarli-1168abb484ce8fd6a524a4849d9d4dd3e0589b20.zip |
docker: move testing resources to tests/docker
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/docker/debian8/Dockerfile')
-rw-r--r-- | tests/docker/debian8/Dockerfile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/docker/debian8/Dockerfile b/tests/docker/debian8/Dockerfile new file mode 100644 index 00000000..eaa34e9b --- /dev/null +++ b/tests/docker/debian8/Dockerfile | |||
@@ -0,0 +1,35 @@ | |||
1 | FROM debian:jessie | ||
2 | MAINTAINER Shaarli Community | ||
3 | |||
4 | ENV TERM dumb | ||
5 | ENV DEBIAN_FRONTEND noninteractive | ||
6 | ENV LANG en_US.UTF-8 | ||
7 | ENV LANGUAGE en_US:en | ||
8 | |||
9 | RUN 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 | |||
23 | RUN locale-gen en_US.UTF-8 \ | ||
24 | && locale-gen de_DE.UTF-8 \ | ||
25 | && locale-gen fr_FR.UTF-8 | ||
26 | |||
27 | ADD https://getcomposer.org/composer.phar /usr/local/bin/composer | ||
28 | RUN chmod 755 /usr/local/bin/composer | ||
29 | |||
30 | RUN mkdir /shaarli | ||
31 | WORKDIR /shaarli | ||
32 | VOLUME /shaarli | ||
33 | |||
34 | ENTRYPOINT ["make"] | ||
35 | CMD [] | ||