This repository was archived by the owner on May 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +70
-0
lines changed
Expand file tree Collapse file tree 4 files changed +70
-0
lines changed Original file line number Diff line number Diff line change 1+ version : " 3.8"
2+ services :
3+ web :
4+ build :
5+ context : ./php
6+ dockerfile : Dockerfile
7+ container_name : php74
8+ depends_on :
9+ - database
10+ ports :
11+ - " 80:80"
12+ volumes :
13+ - " ./php:/var/www/html"
14+ database :
15+ command : " --default-authentication-plugin=mysql_native_password"
16+ container_name : mysql8
17+ environment :
18+ MYSQL_DATABASE : defaultdb
19+ MYSQL_ROOT_PASSWORD : " rootPass"
20+ MYSQL_USER : " dbuser"
21+ MYSQL_PASSWORD : " dbuserpassword"
22+ image : " mysql:8.0.21"
23+ ports :
24+ - " 6033:3306"
25+ restart : always
26+
Original file line number Diff line number Diff line change 1+ FROM php:7.4.9-apache
2+ RUN apt-get update && apt-get upgrade -y
3+ RUN apt-get install openssl curl zlib1g-dev enchant libsodium-dev libzip-dev bzip2 libcurl4-openssl-dev libssl-dev libpng-dev libgmp-dev libxml2-dev libenchant-dev libc-client2007e-dev libc-client-dev libkrb5-dev libonig-dev libedit-dev libtidy-dev libxslt-dev libgd-dev -y
4+ RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl
5+ RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/
6+ RUN docker-php-ext-install bcmath calendar ctype curl enchant exif ffi ftp gd gmp iconv imap intl mbstring pcntl pdo pdo_mysql readline shmop soap sockets sodium sysvmsg sysvsem sysvshm tidy tokenizer xsl zip -j$(nproc)
7+ RUN ls /usr/local/lib/php/extensions/no-debug-non-zts-20190902/
8+ RUN a2enmod rewrite
9+ EXPOSE 80
Original file line number Diff line number Diff line change 1+ version : " 3.8"
2+ services :
3+ web :
4+ build :
5+ context : ./php
6+ dockerfile : Dockerfile
7+ container_name : php74
8+ depends_on :
9+ - database
10+ ports :
11+ - " 80:80"
12+ volumes :
13+ - " ./php:/var/www/html"
14+ database :
15+ command : " --default-authentication-plugin=mysql_native_password"
16+ container_name : mysql8
17+ environment :
18+ MYSQL_DATABASE : defaultdb
19+ MYSQL_ROOT_PASSWORD : " rootPass"
20+ MYSQL_USER : " dbuser"
21+ MYSQL_PASSWORD : " dbuserpassword"
22+ image : " mysql:8.0.21"
23+ ports :
24+ - " 6033:3306"
25+ restart : always
26+
Original file line number Diff line number Diff line change 1+ FROM php:7.4.9-apache
2+ RUN apt-get update && apt-get upgrade -y
3+ RUN apt-get install openssl curl zlib1g-dev enchant libsodium-dev libzip-dev bzip2 libcurl4-openssl-dev libssl-dev libpng-dev libgmp-dev libxml2-dev libenchant-dev libc-client2007e-dev libc-client-dev libkrb5-dev libonig-dev libedit-dev libtidy-dev libxslt-dev libgd-dev -y
4+ RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl
5+ RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/
6+ RUN docker-php-ext-install bcmath calendar ctype curl enchant exif ffi ftp gd gmp iconv imap intl mbstring pcntl pdo pdo_mysql readline shmop soap sockets sodium sysvmsg sysvsem sysvshm tidy tokenizer xsl zip -j$(nproc)
7+ RUN ls /usr/local/lib/php/extensions/no-debug-non-zts-20190902/
8+ RUN a2enmod rewrite
9+ EXPOSE 80
You can’t perform that action at this time.
0 commit comments