aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/docker/ubuntu16/Dockerfile
diff options
context:
space:
mode:
authorVirtualTam <virtualtam+github@flibidi.net>2018-06-20 16:29:27 +0200
committerGitHub <noreply@github.com>2018-06-20 16:29:27 +0200
commit5420c87e22570c8aface1dfe5fc1f54bd6bb4845 (patch)
tree8a9587a53f0161fe95141d982ff4cea40075372b /tests/docker/ubuntu16/Dockerfile
parente36479d9ffd71b504bc99501ea1fef2579ff46b6 (diff)
parentdecae8c119e0f4750d10909abc47d8afb89af362 (diff)
downloadShaarli-5420c87e22570c8aface1dfe5fc1f54bd6bb4845.tar.gz
Shaarli-5420c87e22570c8aface1dfe5fc1f54bd6bb4845.tar.zst
Shaarli-5420c87e22570c8aface1dfe5fc1f54bd6bb4845.zip
Merge pull request #1157 from virtualtam/v0.9-dockerfile
v0.9 - Build the Docker images from the local sources
Diffstat (limited to 'tests/docker/ubuntu16/Dockerfile')
-rw-r--r--tests/docker/ubuntu16/Dockerfile36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/docker/ubuntu16/Dockerfile b/tests/docker/ubuntu16/Dockerfile
new file mode 100644
index 00000000..e53ed9e3
--- /dev/null
+++ b/tests/docker/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 []