File tree Expand file tree Collapse file tree 3 files changed +86
-42
lines changed Expand file tree Collapse file tree 3 files changed +86
-42
lines changed Original file line number Diff line number Diff line change 11FROM ubuntu:14.04
22
3- ENV DEBIAN_FRONTEND noninteractive
4-
5- RUN apt-get update
6-
7- RUN mkdir -p /opt/docker/ /var/log/supervisor
3+ COPY conf/php.ini /etc/php5/mods-available/typo3.ini
84COPY conf/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
9- COPY bin/* /opt/docker/
10-
11- RUN apt-get install -y \
12- supervisor \
13- php5-cli \
14- php5-fpm \
15- php5-json \
16- php5-intl \
17- php5-curl \
18- php5-mysqlnd \
19- php5-xhprof \
20- php5-memcached \
21- php5-redis \
22- php5-mcrypt \
23- php5-gd \
24- php5-sqlite \
25- php5-xmlrpc \
26- php5-xsl \
27- php5-geoip \
28- php5-ldap
5+ COPY conf/locale.conf /opt/docker/locale.conf
6+ COPY bin/* /opt/docker/
297
30- RUN apt-get install -y \
31- graphicsmagick \
32- zip \
33- unzip \
34- curl \
35- mysql-client \
36- nodejs \
37- nodejs-legacy \
38- node-less \
39- npm
40-
41- ADD conf/php.ini /etc/php5/mods-available/typo3.ini
42- RUN php5enmod typo3
43-
44- RUN curl -sS https://getcomposer.org/installer | php
45- RUN mv composer.phar /usr/local/bin/composer
8+ RUN bash /opt/docker/install.sh
469
4710ADD ./htdocs /var/www/htdocs
4811
49-
5012EXPOSE 9000
5113
5214VOLUME /var/www/
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -o pipefail # trace ERR through pipes
4+ set -o errtrace # trace ERR through 'time command' and other functions
5+ set -o nounset # # set -u : exit the script if you try to use an uninitialised variable
6+ set -o errexit # # set -e : exit the script if any statement returns a non-true return value
7+
8+ export DEBIAN_FRONTEND=" noninteractive"
9+
10+ # ############################
11+ # Common tasks
12+ # ############################
13+
14+ mkdir -p /opt/docker/ \
15+ /var/log/supervisor
16+
17+ # ############################
18+ # Install packages
19+ # ############################
20+
21+ apt-get update
22+
23+ apt-get install -y \
24+ supervisor \
25+ php5-cli \
26+ php5-fpm \
27+ php5-json \
28+ php5-intl \
29+ php5-curl \
30+ php5-mysqlnd \
31+ php5-xhprof \
32+ php5-memcached \
33+ php5-redis \
34+ php5-mcrypt \
35+ php5-gd \
36+ php5-sqlite \
37+ php5-xmlrpc \
38+ php5-xsl \
39+ php5-geoip \
40+ php5-ldap
41+
42+ apt-get install -y \
43+ graphicsmagick \
44+ zip \
45+ unzip \
46+ curl \
47+ mysql-client \
48+ nodejs \
49+ nodejs-legacy \
50+ node-less \
51+ npm
52+
53+ # ############################
54+ # Generate locales
55+ # ############################
56+
57+ cat /opt/docker/locale.conf >> /var/lib/locales/supported.d/local
58+ locale-gen
59+
60+ # ############################
61+ # Enable php modules
62+ # ############################
63+ # # custom config
64+ php5enmod typo3
65+
66+ # ############################
67+ # Composer
68+ # ############################
69+
70+ curl -sS https://getcomposer.org/installer | php
71+ mv composer.phar /usr/local/bin/composer
Original file line number Diff line number Diff line change 1+ en_GB.UTF-8 UTF-8
2+ en_GB ISO-8859-1
3+ en_GB.ISO-8859-15 ISO-8859-15
4+
5+ en_US.UTF-8 UTF-8
6+ en_US ISO-8859-1
7+ en_US.ISO-8859-15 ISO-8859-15
8+
9+ de_DE.UTF-8 UTF-8
10+ de_DE ISO-8859-1
11+ de_DE@euro ISO-8859-15
You can’t perform that action at this time.
0 commit comments