aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker/test/debian9/Dockerfile
blob: 3ab4b93d39316a68f661a1f38729da73c25f4070 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM debian:stretch
MAINTAINER Shaarli Community

ENV TERM dumb
ENV DEBIAN_FRONTEND noninteractive
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en

RUN apt-get update \
    && apt-get install --no-install-recommends -y \
       ca-certificates \
       curl \
       locales \
       make \
       php7.0 \
       php7.0-curl \
       php7.0-gd \
       php7.0-intl \
       php7.0-xml \
       php-xdebug \
       rsync \
    && apt-get clean

RUN locale-gen en_US.UTF-8 \
    && locale-gen de_DE.UTF-8 \
    && locale-gen fr_FR.UTF-8

ADD https://getcomposer.org/composer.phar /usr/local/bin/composer
RUN chmod 755 /usr/local/bin/composer

RUN mkdir /shaarli
WORKDIR /shaarli
VOLUME /shaarli

ENTRYPOINT ["make"]
CMD []