aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker/test/ubuntu16
diff options
context:
space:
mode:
authorVirtualTam <virtualtam+github@flibidi.net>2017-09-19 18:18:35 +0200
committerGitHub <noreply@github.com>2017-09-19 18:18:35 +0200
commit6aae4bd0a15575eb11b4774cfdcdad1c2a994fe0 (patch)
tree6a13b2f27a0e06b5358c7b52556ef2b774cb817e /docker/test/ubuntu16
parentfc1c1b8869817f5864c72d57385761b9124603da (diff)
parentd691604080cc920e7d1d7ad5c98f4e3fae779524 (diff)
downloadShaarli-6aae4bd0a15575eb11b4774cfdcdad1c2a994fe0.tar.gz
Shaarli-6aae4bd0a15575eb11b4774cfdcdad1c2a994fe0.tar.zst
Shaarli-6aae4bd0a15575eb11b4774cfdcdad1c2a994fe0.zip
Merge pull request #909 from virtualtam/docker/test-environments
docker: add alpine,debian,ubuntu test images
Diffstat (limited to 'docker/test/ubuntu16')
-rw-r--r--docker/test/ubuntu16/Dockerfile36
1 files changed, 36 insertions, 0 deletions
diff --git a/docker/test/ubuntu16/Dockerfile b/docker/test/ubuntu16/Dockerfile
new file mode 100644
index 00000000..e53ed9e3
--- /dev/null
+++ b/docker/test/ubuntu16/Dockerfile
@@ -0,0 +1,36 @@
1FROM ubuntu:16.04
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 language-pack-de \
14 language-pack-en \
15 language-pack-fr \
16 locales \
17 make \
18 php7.0 \
19 php7.0-curl \
20 php7.0-gd \
21 php7.0-intl \
22 php7.0-xml \
23 php-xdebug \
24 rsync \
25 && apt-get clean
26
27ADD https://getcomposer.org/composer.phar /usr/local/bin/composer
28RUN chmod 755 /usr/local/bin/composer
29
30RUN useradd -m dev \
31 && mkdir /shaarli
32USER dev
33WORKDIR /shaarli
34
35ENTRYPOINT ["make"]
36CMD []