You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LABEL Description="Cutting-edge LAMP stack, based on Ubuntu 16.04 LTS. Includes .htaccess support and popular PHP7 features, including composer and mail() function." \
LABEL Description="LAMP stack, based on latest debian-slim. Includes .htaccess support, MariaDB and PHP7." \
4
4
License="Apache License 2.0" \
5
-
Usage="docker run -d -p [HOST WWW PORT NUMBER]:80 -p [HOST DB PORT NUMBER]:3306 -v [HOST WWW DOCUMENT ROOT]:/var/www/html -v [HOST DB DOCUMENT ROOT]:/var/lib/mysql fauria/lamp" \
5
+
Usage="docker run -d -p [HOST WWW PORT NUMBER]:80 docker-lamp" \
6
6
Version="1.0"
7
7
8
-
RUN apt-get update
9
-
RUN apt-get upgrade -y
10
-
11
-
COPY debconf.selections /tmp/
12
-
RUN debconf-set-selections /tmp/debconf.selections
13
-
14
-
RUN apt-get install -y zip unzip
15
-
RUN apt-get install -y \
16
-
php7.0 \
17
-
php7.0-bz2 \
18
-
php7.0-cgi \
19
-
php7.0-cli \
20
-
php7.0-common \
21
-
php7.0-curl \
22
-
php7.0-dev \
23
-
php7.0-enchant \
24
-
php7.0-fpm \
25
-
php7.0-gd \
26
-
php7.0-gmp \
27
-
php7.0-imap \
28
-
php7.0-interbase \
29
-
php7.0-intl \
30
-
php7.0-json \
31
-
php7.0-ldap \
32
-
php7.0-mbstring \
33
-
php7.0-mcrypt \
34
-
php7.0-mysql \
35
-
php7.0-odbc \
36
-
php7.0-opcache \
37
-
php7.0-pgsql \
38
-
php7.0-phpdbg \
39
-
php7.0-pspell \
40
-
php7.0-readline \
41
-
php7.0-recode \
42
-
php7.0-snmp \
43
-
php7.0-sqlite3 \
44
-
php7.0-sybase \
45
-
php7.0-tidy \
46
-
php7.0-xmlrpc \
47
-
php7.0-xsl \
48
-
php7.0-zip
49
-
RUN apt-get install apache2 libapache2-mod-php7.0 -y
50
-
RUN apt-get install mariadb-common mariadb-server mariadb-client -y
51
-
RUN apt-get install postfix -y
52
-
RUN apt-get install git nodejs npm composer nano tree vim curl ftp -y
Main Goal is to build a LAMP-stack for simple semi-dynamic Websites as a monolithic Container.
7
+
8
+
The Container is static, Database/Filesystem changes on Runtime will be lost on restart.
9
+
10
+
11
+
Just replace the setup.sql with your datafile and set the link to your WebProject-git (Dockerfile: ENV GITREPO). Customize DB Credentials and Database settings at Dockerfile ENVs ( DATABASE, DATABASE_USER, DATABASE_PW ).
9
12
10
-
This Docker container implements a last generation LAMP stack with a set of popular PHP modules. Includes support for [Composer](https://getcomposer.org/), [Bower](http://bower.io/) and [npm](https://www.npmjs.com/) package managers and a Postfix service to allow sending emails through PHP [mail()](http://php.net/manual/en/function.mail.php) function.
11
13
12
-
If you dont need support for MySQL/MariaDB, or your app runs on PHP 5.4, maybe [fauria/lap](https://hub.docker.com/r/fauria/lap) suits your needs better.
13
14
14
15
Includes the following components:
15
16
16
-
*Ubuntu 16.04 LTS Xenial Xerus base image.
17
+
*Debian slim latest
17
18
* Apache HTTP Server 2.4
18
-
* MariaDB 10.0
19
-
* Postfix 2.11
20
-
* PHP 7
21
-
* PHP modules
22
-
* php-bz2
23
-
* php-cgi
24
-
* php-cli
25
-
* php-common
26
-
* php-curl
27
-
* php-dbg
28
-
* php-dev
29
-
* php-enchant
30
-
* php-fpm
31
-
* php-gd
32
-
* php-gmp
33
-
* php-imap
34
-
* php-interbase
35
-
* php-intl
36
-
* php-json
37
-
* php-ldap
38
-
* php-mcrypt
39
-
* php-mysql
40
-
* php-odbc
41
-
* php-opcache
42
-
* php-pgsql
43
-
* php-phpdbg
44
-
* php-pspell
45
-
* php-readline
46
-
* php-recode
47
-
* php-snmp
48
-
* php-sqlite3
49
-
* php-sybase
50
-
* php-tidy
51
-
* php-xmlrpc
52
-
* php-xsl
53
-
* Development tools
54
-
* git
55
-
* composer
56
-
* npm / nodejs
57
-
* bower
58
-
* vim
59
-
* tree
60
-
* nano
61
-
* ftp
62
-
* curl
63
-
64
-
Installation from [Docker registry hub](https://registry.hub.docker.com/r/fauria/lamp/).
19
+
* MariaDB 10.x
20
+
* PHP 7.4
21
+
* git
22
+
23
+
24
+
Usage
65
25
----
66
26
67
-
You can download the image using the following command:
0 commit comments