aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/docker/debian9
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2018-06-16 23:28:55 +0200
committerVirtualTam <virtualtam@flibidi.net>2018-06-16 23:28:55 +0200
commit47095cb333a45173202b6d1d9504d4264e558cb5 (patch)
tree10f8aea0cb1cba77edb028ff6641e8a971a73dad /tests/docker/debian9
parente36479d9ffd71b504bc99501ea1fef2579ff46b6 (diff)
downloadShaarli-47095cb333a45173202b6d1d9504d4264e558cb5.tar.gz
Shaarli-47095cb333a45173202b6d1d9504d4264e558cb5.tar.zst
Shaarli-47095cb333a45173202b6d1d9504d4264e558cb5.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/debian9')
-rw-r--r--tests/docker/debian9/Dockerfile36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/docker/debian9/Dockerfile b/tests/docker/debian9/Dockerfile
new file mode 100644
index 00000000..3ab4b93d
--- /dev/null
+++ b/tests/docker/debian9/Dockerfile
@@ -0,0 +1,36 @@
1FROM debian:stretch
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 php7.0 \
16 php7.0-curl \
17 php7.0-gd \
18 php7.0-intl \
19 php7.0-xml \
20 php-xdebug \
21 rsync \
22 && apt-get clean
23
24RUN locale-gen en_US.UTF-8 \
25 && locale-gen de_DE.UTF-8 \
26 && locale-gen fr_FR.UTF-8
27
28ADD https://getcomposer.org/composer.phar /usr/local/bin/composer
29RUN chmod 755 /usr/local/bin/composer
30
31RUN mkdir /shaarli
32WORKDIR /shaarli
33VOLUME /shaarli
34
35ENTRYPOINT ["make"]
36CMD []