update all images with alpine 3.5 - remove edge for php7 versions

This commit is contained in:
a-sansara 2017-03-18 02:16:10 +01:00
parent 28533f0cce
commit 232ea7a8da
30 changed files with 142 additions and 104 deletions

View File

@ -1,13 +1,13 @@
## Docker
- [index][1]
- [pluie/alpine][2] ( < 10 MB ) Alpine/3.4
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24
- [pluie/alpine-apache-fpm][7] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24 Fpm
- [pluie/alpine-symfony][6] ( ~ 82 MB ) Symfony2.8 or 3.1
- [pluie/alpine-apache-php7][8] ( ~ 50 MB ) Apache/2.4.25 Php/7.0.15
- [pluie/alpine-symfony-php7][9] ( ~ 82 MB ) Symfony2.8 or 3.2 Php/7.0.15
- [pluie/alpine-mysql][4] ( ~172 MB ) Mysql/5.5.47 ( MariaDB )
- [pluie/alpine][2] ( ~ 9 MB ) Alpine/3.5
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.25 Php/5.6.30
- [pluie/alpine-apache-fpm][7] ( ~ 51 MB ) Apache/2.4.25 Php/5.6.30 Fpm
- [pluie/alpine-symfony][6] ( ~ 83 MB ) Symfony2.8 or 3.2
- [pluie/alpine-apache-php7][8] ( ~ 45 MB ) Apache/2.4.25 Php/7.0.16
- [pluie/alpine-symfony-php7][9] ( ~ 77 MB ) Symfony2.8 or 3.2 Php/7.0.16
- [pluie/alpine-mysql][4] ( ~181 MB ) Mysql/5.6 ( MariaDB )
- [docker tips][5]
### Networking
@ -36,6 +36,7 @@ docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}
172.22.0.6 wordpress.docker
172.22.0.7 fpm.docker
172.22.0.8 symfony.docker
172.22.0.9 php7.docker
# <
```
@ -74,13 +75,13 @@ docker stats container
#### map
[db.docker] (http://db.docker)
[pma.docker] (http://pma.docker)
[gogs.docker] (http://gogs.docker)
[bo-payment.docker] (http://bo-payment.docker)
[wordpress.docker] (http://wordpress.docker)
[fpm.docker] (http://symfony.docker)
[symfony.docker] (http://symfony.docker)
[db.docker](http://db.docker)
[pma.docker](http://pma.docker)
[gogs.docker](http://gogs.docker)
[bo-payment.docker](http://bo-payment.docker)
[wordpress.docker](http://wordpress.docker)
[fpm.docker](http://symfony.docker)
[symfony.docker](http://symfony.docker)
#### Mysql
```
@ -124,6 +125,18 @@ docker run --name apache --restart=always \
-d pluie/alpine-apache
```
#### Apache Php7
```
cd /home/dev/docker
docker run --name php7 --restart=always \
--net home0 -h bo-payment.docker --ip 172.22.0.9 --link mysql:db \
-v $(pwd)/repo/pws-server:/app \
-e HTTP_SERVER_NAME=bo-payment.docker \
-e WWW_DIR=web \
-d pluie/alpine-apache-php7
```
#### Wordpress
```
cd /home/dev/docker
@ -155,6 +168,17 @@ docker run --name symfony --restart=always \
-e SYMFONY_VERSION=2.8 \
-v $(pwd)/repo/myapp:/app \
-d pluie/alpine-symfony
```
### Symfony Php7
```
cd /home/dev/docker
docker run --name symfony --restart=always \
--net home0 -h symfony.docker --ip 172.22.0.8 --link=mysql:db \
-e HTTP_SERVER_NAME=symfony \
-e SYMFONY_VERSION=3.2 \
-v $(pwd)/repo/myapp:/app \
-d pluie/alpine-symfony-php7
```
[1]: https://github.com/pluie-org/docker-images

View File

@ -5,13 +5,13 @@ various based images for Docker
## Available Images
- [index][1]
- [pluie/alpine][2] ( < 10 MB ) Alpine/3.4
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24
- [pluie/alpine-apache-fpm][7] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24 Fpm
- [pluie/alpine-symfony][6] ( ~ 82 MB ) Symfony2.8 or 3.1
- [pluie/alpine-apache-php7][8] ( ~ 50 MB ) Apache/2.4.25 Php/7.0.15
- [pluie/alpine-symfony-php7][9] ( ~ 82 MB ) Symfony2.8 or 3.2 Php/7.0.15
- [pluie/alpine-mysql][4] ( ~172 MB ) Mysql/5.5.47 ( MariaDB )
- [pluie/alpine][2] ( ~ 9 MB ) Alpine/3.5
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.25 Php/5.6.30
- [pluie/alpine-apache-fpm][7] ( ~ 51 MB ) Apache/2.4.25 Php/5.6.30 Fpm
- [pluie/alpine-symfony][6] ( ~ 83 MB ) Symfony2.8 or 3.2
- [pluie/alpine-apache-php7][8] ( ~ 45 MB ) Apache/2.4.25 Php/7.0.16
- [pluie/alpine-symfony-php7][9] ( ~ 77 MB ) Symfony2.8 or 3.2 Php/7.0.16
- [pluie/alpine-mysql][4] ( ~181 MB ) Mysql/5.6 ( MariaDB )
- [docker tips][5]
## Base Image Structure

View File

@ -1,23 +1,23 @@
# pluie/alpine-apache
- [index][1]
- [pluie/alpine][2] ( < 10 MB ) Alpine/3.4
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24
- [pluie/alpine-apache-fpm][7] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24 Fpm
- [pluie/alpine-symfony][6] ( ~ 82 MB ) Symfony2.8 or 3.1
- [pluie/alpine-apache-php7][8] ( ~ 50 MB ) Apache/2.4.25 Php/7.0.15
- [pluie/alpine-symfony-php7][9] ( ~ 82 MB ) Symfony2.8 or 3.2 Php/7.0.15
- [pluie/alpine-mysql][4] ( ~172 MB ) Mysql/5.5.47 ( MariaDB )
- [pluie/alpine][2] ( ~ 9 MB ) Alpine/3.5
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.25 Php/5.6.30
- [pluie/alpine-apache-fpm][7] ( ~ 51 MB ) Apache/2.4.25 Php/5.6.30 Fpm
- [pluie/alpine-symfony][6] ( ~ 83 MB ) Symfony2.8 or 3.2
- [pluie/alpine-apache-php7][8] ( ~ 45 MB ) Apache/2.4.25 Php/7.0.16
- [pluie/alpine-symfony-php7][9] ( ~ 77 MB ) Symfony2.8 or 3.2 Php/7.0.16
- [pluie/alpine-mysql][4] ( ~181 MB ) Mysql/5.6 ( MariaDB )
- [docker tips][5]
Extend pluie/alpine with __apache 2.4.23__ and __php 5.6.24__ with FPM
Extend pluie/alpine with __apache 2.4.25__ and __php 5.6.30__ with FPM
- you can use env var at container creation : __HTTP_SERVER_NAME__ (default : fpm.docker ortherwise edit app/vhost later)
## Image Size
- image ~ 50 MB
- image ~ 51 MB
## ENV variables

Binary file not shown.

View File

@ -2,7 +2,7 @@
# @app pluie/alpine-apache
# @author a-Sansara https://git.pluie.org/pluie/docker-images
apk --update add apache2 apache2-proxy apache2-proxy-html apache-mod-fcgid libxml2 \
apk add apache2 apache2-proxy apache2-proxy-html apache-mod-fcgid libxml2 \
php5-fpm php5-cli php5-phar php5-zlib php5-zip php5-ctype php5-xml php5-pdo_mysql php5-mysqli \
php5-opcache php5-pdo php5-json php5-curl php5-gd php5-mcrypt php5-openssl php5-dom \
# php-pdo_odbc php-soap php-pgsql

View File

@ -1,16 +1,16 @@
# pluie/alpine-apache-php7
- [index][1]
- [pluie/alpine][2] ( < 10 MB ) Alpine/3.4
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24
- [pluie/alpine-apache-fpm][7] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24 Fpm
- [pluie/alpine-symfony][6] ( ~ 82 MB ) Symfony2.8 or 3.1
- [pluie/alpine-apache-php7][8] ( ~ 50 MB ) Apache/2.4.25 Php/7.0.15
- [pluie/alpine-symfony-php7][9] ( ~ 82 MB ) Symfony2.8 or 3.2 Php/7.0.15
- [pluie/alpine-mysql][4] ( ~172 MB ) Mysql/5.5.47 ( MariaDB )
- [pluie/alpine][2] ( ~ 9 MB ) Alpine/3.5
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.25 Php/5.6.30
- [pluie/alpine-apache-fpm][7] ( ~ 51 MB ) Apache/2.4.25 Php/5.6.30 Fpm
- [pluie/alpine-symfony][6] ( ~ 83 MB ) Symfony2.8 or 3.2
- [pluie/alpine-apache-php7][8] ( ~ 45 MB ) Apache/2.4.25 Php/7.0.16
- [pluie/alpine-symfony-php7][9] ( ~ 77 MB ) Symfony2.8 or 3.2 Php/7.0.16
- [pluie/alpine-mysql][4] ( ~181 MB ) Mysql/5.6 ( MariaDB )
- [docker tips][5]
Extend pluie/alpine with __apache 2.4.25__ and __php 7.0.15__
Extend pluie/alpine with __apache 2.4.25__ and __php 7.0.16__
- error log are attached to stdout
- no need port redirection
@ -20,7 +20,7 @@ Extend pluie/alpine with __apache 2.4.25__ and __php 7.0.15__
## Image Size
- image ~ 50 MB
- image ~ 45 MB
## ENV variables

Binary file not shown.

View File

@ -9,7 +9,7 @@
#~ http://alpine.gliderlabs.com/alpine/edge/main
#~ http://alpine.gliderlabs.com/alpine/edge/testing
#~ " >> /etc/apk/repositories
echo "http://dl-5.alpinelinux.org/alpine/edge/community
http://dl-5.alpinelinux.org/alpine/edge/main
http://dl-5.alpinelinux.org/alpine/edge/testing
" > /etc/apk/repositories
#~ echo "http://dl-5.alpinelinux.org/alpine/edge/community
#~ http://dl-5.alpinelinux.org/alpine/edge/main
#~ http://dl-5.alpinelinux.org/alpine/edge/testing
#~ " > /etc/apk/repositories

View File

@ -2,7 +2,7 @@
# @app pluie/alpine-apache
# @author a-Sansara https://git.pluie.org/pluie/docker-images
apk -U upgrade && apk --update add apache2 apache2-proxy \
apk add apache2 apache2-proxy \
php7-apache2 php7-mbstring php7-session php7-phar php7-zlib php7-zip php7-ctype \
php7-mysqli php7-xml php7-pdo_mysql php7-opcache php7-pdo php7-json php7-curl \
php7-gd php7-mcrypt php7-openssl php7-dom \

View File

@ -3,6 +3,7 @@
# @author a-Sansara https://git.pluie.org/pluie/docker-images
if [ ! -d /app/$WWW_DIR ]; then
echo create dir mode
CREATE_WWW_DIR=1
mkdir -p /app/$WWW_DIR
fi

View File

@ -1,16 +1,16 @@
# pluie/alpine-apache
- [index][1]
- [pluie/alpine][2] ( < 10 MB ) Alpine/3.4
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24
- [pluie/alpine-apache-fpm][7] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24 Fpm
- [pluie/alpine-symfony][6] ( ~ 82 MB ) Symfony2.8 or 3.1
- [pluie/alpine-apache-php7][8] ( ~ 50 MB ) Apache/2.4.25 Php/7.0.15
- [pluie/alpine-symfony-php7][9] ( ~ 82 MB ) Symfony2.8 or 3.2 Php/7.0.15
- [pluie/alpine-mysql][4] ( ~172 MB ) Mysql/5.5.47 ( MariaDB )
- [pluie/alpine][2] ( ~ 9 MB ) Alpine/3.5
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.25 Php/5.6.30
- [pluie/alpine-apache-fpm][7] ( ~ 51 MB ) Apache/2.4.25 Php/5.6.30 Fpm
- [pluie/alpine-symfony][6] ( ~ 83 MB ) Symfony2.8 or 3.2
- [pluie/alpine-apache-php7][8] ( ~ 45 MB ) Apache/2.4.25 Php/7.0.16
- [pluie/alpine-symfony-php7][9] ( ~ 77 MB ) Symfony2.8 or 3.2 Php/7.0.16
- [pluie/alpine-mysql][4] ( ~181 MB ) Mysql/5.6 ( MariaDB )
- [docker tips][5]
Extend pluie/alpine with __apache 2.4.23__ and __php 5.6.24__
Extend pluie/alpine with __apache 2.4.25__ and __php 5.6.30__
- error log are attached to stdout
- no need port redirection

Binary file not shown.

View File

@ -2,7 +2,7 @@
# @app pluie/alpine-apache
# @author a-Sansara https://git.pluie.org/pluie/docker-images
apk --update add apache2 apache2-proxy \
apk add apache2 apache2-proxy \
php5-apache2 php5-cli php5-phar php5-zlib php5-zip php5-ctype php5-mysqli php5-xml php5-pdo_mysql \
php5-opcache php5-pdo php5-json php5-curl php5-gd php5-mcrypt php5-openssl php5-dom \
# php-pdo_odbc php-soap php-pgsql

Binary file not shown.

View File

@ -2,7 +2,7 @@
# @app pluie/alpine-apache-php7
# @author a-Sansara https://git.pluie.org/pluie/docker-images
#
echo "http://dl-5.alpinelinux.org/alpine/edge/community
http://dl-5.alpinelinux.org/alpine/edge/main
http://dl-5.alpinelinux.org/alpine/edge/testing
" > /etc/apk/repositories
#~ echo "http://dl-5.alpinelinux.org/alpine/edge/community
#~ http://dl-5.alpinelinux.org/alpine/edge/main
#~ http://dl-5.alpinelinux.org/alpine/edge/testing
#~ " > /etc/apk/repositories

View File

@ -2,7 +2,7 @@
# @app pluie/alpine-apache
# @author a-Sansara https://git.pluie.org/pluie/docker-images
apk --update add apache2 apache2-proxy apache2-proxy-html apache-mod-fcgid php7-fpm \
apk add apache2 apache2-proxy apache2-proxy-html apache-mod-fcgid php7-fpm \
php7-apache2 php7-mbstring php7-session php7-phar php7-zlib php7-zip php7-ctype \
php7-mysqli php7-xml php7-pdo_mysql php7-opcache php7-pdo php7-json php7-curl \
php7-gd php7-mcrypt php7-openssl php7-dom \

View File

@ -1,16 +1,16 @@
# pluie/alpine-mysql
- [index][1]
- [pluie/alpine][2] ( < 10 MB ) Alpine/3.4
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24
- [pluie/alpine-apache-fpm][7] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24 Fpm
- [pluie/alpine-symfony][6] ( ~ 82 MB ) Symfony2.8 or 3.1
- [pluie/alpine-apache-php7][8] ( ~ 50 MB ) Apache/2.4.25 Php/7.0.15
- [pluie/alpine-symfony-php7][9] ( ~ 82 MB ) Symfony2.8 or 3.2 Php/7.0.15
- [pluie/alpine-mysql][4] ( ~172 MB ) Mysql/5.5.47 ( MariaDB )
- [pluie/alpine][2] ( ~ 9 MB ) Alpine/3.5
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.25 Php/5.6.30
- [pluie/alpine-apache-fpm][7] ( ~ 51 MB ) Apache/2.4.25 Php/5.6.30 Fpm
- [pluie/alpine-symfony][6] ( ~ 83 MB ) Symfony2.8 or 3.2
- [pluie/alpine-apache-php7][8] ( ~ 45 MB ) Apache/2.4.25 Php/7.0.16
- [pluie/alpine-symfony-php7][9] ( ~ 77 MB ) Symfony2.8 or 3.2 Php/7.0.16
- [pluie/alpine-mysql][4] ( ~181 MB ) Mysql/5.6 ( MariaDB )
- [docker tips][5]
Extend pluie/alpine with mysql (MariaDb/10.1.14)
Extend pluie/alpine with mysql (MariaDb/10.1.22)
Project comes with various scripts to execute basic tasks such as :
- dbcreate
- dbdump
@ -21,7 +21,7 @@ Root access to database is only permit on localhost
## Image Size
- image ~ 172 MB
- image ~ 181 MB
## Image Volumes
@ -69,8 +69,9 @@ for example :
$ docker run --name pma -p 8080:80 --link mysql:db -d phpmyadmin/phpmyadmin
```
and phpmyadmin is accessible via http://localhost:8080/ and linked to your mysql container
and __phpmyadmin__ is accessible via `http://localhost:8080/` and linked to your mysql container
(by the way on dev, you don't need to expose your 8080 port too... simply use a bridge network and update your
`/etc/hosts` file - see [ docker tips ][5] for that)
### Existing Scripts
@ -106,7 +107,7 @@ $ docker exec -it mysql "mysql -udev -pmysql"
to connect to the mysql server as root :
```
$ docker exec -it mysql "mysql -uroot"
$ docker exec -it mysql mysql
```
to connect to the mysql container as root :
```

Binary file not shown.

View File

@ -2,4 +2,4 @@
# @app pluie/alpine-mysql
# @author a-Sansara https://git.pluie.org/pluie/docker-images
apk --update add mysql mysql-client pwgen \
apk add mysql mysql-client pwgen \

View File

@ -1,13 +1,13 @@
# pluie/alpine-symfony-php7
- [index][1]
- [pluie/alpine][2] ( < 10 MB ) Alpine/3.4
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24
- [pluie/alpine-apache-fpm][7] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24 Fpm
- [pluie/alpine-symfony][6] ( ~ 82 MB ) Symfony2.8 or 3.1
- [pluie/alpine-apache-php7][8] ( ~ 50 MB ) Apache/2.4.25 Php/7.0.15
- [pluie/alpine-symfony-php7][9] ( ~ 82 MB ) Symfony2.8 or 3.2 Php/7.0.15
- [pluie/alpine-mysql][4] ( ~172 MB ) Mysql/5.5.47 ( MariaDB )
- [pluie/alpine][2] ( ~ 9 MB ) Alpine/3.5
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.25 Php/5.6.30
- [pluie/alpine-apache-fpm][7] ( ~ 51 MB ) Apache/2.4.25 Php/5.6.30 Fpm
- [pluie/alpine-symfony][6] ( ~ 83 MB ) Symfony2.8 or 3.2
- [pluie/alpine-apache-php7][8] ( ~ 45 MB ) Apache/2.4.25 Php/7.0.16
- [pluie/alpine-symfony-php7][9] ( ~ 77 MB ) Symfony2.8 or 3.2 Php/7.0.16
- [pluie/alpine-mysql][4] ( ~181 MB ) Mysql/5.6 ( MariaDB )
- [docker tips][5]
Extend pluie/alpine-apache-php7.
@ -17,7 +17,7 @@ the symfony framework with $SYMFONY_VERSION version on the /app directory
## Image Size
- image ~ 82 MB
- image ~ 77 MB
## ENV variables
@ -65,6 +65,11 @@ $ docker run --name symfony -d --link=mysql:db -e HTTP_SERVER_NAME=yourServerNam
$ docker exec -it symfony bash
```
## Run the console
```
$ docker exec -it symfony php /app/bin/console --ansi
```
[1]: https://github.com/pluie-org/docker-images
[2]: https://github.com/pluie-org/docker-images/tree/master/pluie/alpine

Binary file not shown.

View File

@ -2,6 +2,6 @@
# @app pluie/alpine-symfony
# @author a-Sansara https://git.pluie.org/pluie/docker-images
apk -U add php7-iconv php7-intl php7-posix
apk add php7-iconv php7-intl php7-posix
curl -LsS https://symfony.com/installer -o /usr/bin/symfony
chmod +x /usr/bin/symfony

View File

@ -8,7 +8,7 @@ if [ ! -z "$CREATE_WWW_DIR" ]; then
rm -rf /app/web
mv -f app/* /app/
chown -R 1000:apache /app/
chown -R 1000:apache /app/var
chown -R 774:apache /app/var
chmod -R g+w /app
CTN_IP=$(ip route | cut -d ' ' -f3 | head -n1)
sed -i "/::1/s//::1', '$CTN_IP/" /app/web/app_dev.php

View File

@ -1,23 +1,23 @@
# pluie/alpine-symfony
- [index][1]
- [pluie/alpine][2] ( < 10 MB ) Alpine/3.4
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24
- [pluie/alpine-apache-fpm][7] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24 Fpm
- [pluie/alpine-symfony][6] ( ~ 82 MB ) Symfony2.8 or 3.1
- [pluie/alpine-apache-php7][8] ( ~ 50 MB ) Apache/2.4.25 Php/7.0.15
- [pluie/alpine-symfony-php7][9] ( ~ 82 MB ) Symfony2.8 or 3.2 Php/7.0.15
- [pluie/alpine-mysql][4] ( ~172 MB ) Mysql/5.5.47 ( MariaDB )
- [pluie/alpine][2] ( ~ 9 MB ) Alpine/3.5
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.25 Php/5.6.30
- [pluie/alpine-apache-fpm][7] ( ~ 51 MB ) Apache/2.4.25 Php/5.6.30 Fpm
- [pluie/alpine-symfony][6] ( ~ 83 MB ) Symfony2.8 or 3.2
- [pluie/alpine-apache-php7][8] ( ~ 45 MB ) Apache/2.4.25 Php/7.0.16
- [pluie/alpine-symfony-php7][9] ( ~ 77 MB ) Symfony2.8 or 3.2 Php/7.0.16
- [pluie/alpine-mysql][4] ( ~181 MB ) Mysql/5.6 ( MariaDB )
- [docker tips][5]
Extend pluie/alpine-apache-fpm.
if __/app/$WWW_DIR__ does not exits then __pluie/alpine-symfony__ install
the symfony framework with $SYMFONY_VERSION version on the /app directory
the symfony framework with `$SYMFONY_VERSION` version on the `/app` directory
## Image Size
- image ~ 82 MB
- image ~ 83 MB
## ENV variables
@ -59,6 +59,12 @@ $ docker run --name symfony -d --link=mysql:db -e HTTP_SERVER_NAME=yourServerNam
```
$ docker exec -it symfony bash
```
## Run the console
```
$ docker exec -it symfony php /app/bin/console --ansi
```
[1]: https://github.com/pluie-org/docker-images

Binary file not shown.

View File

@ -2,6 +2,6 @@
# @app pluie/alpine-symfony
# @author a-Sansara https://git.pluie.org/pluie/docker-images
apk -U add php5-iconv php5-intl php5-posix
apk add php5-iconv php5-intl php5-posix
curl -LsS https://symfony.com/installer -o /usr/bin/symfony
chmod +x /usr/bin/symfony

View File

@ -9,6 +9,7 @@ if [ ! -z "$CREATE_WWW_DIR" ]; then
mv -f app/* /app/
chown -R 1000:apache /app/
chmod -R 777 /app/var
chmod -R g+w /app
CTN_IP=$(ip route | cut -d ' ' -f3 | head -n1)
sed -i "/::1/s//::1', '$CTN_IP/" /app/web/app_dev.php
fi

View File

@ -1,7 +1,7 @@
# @app pluie/alpine
# @author a-Sansara https://git.pluie.org/pluie/docker-images
FROM alpine:3.4
FROM alpine:3.5
MAINTAINER a-Sansara https://github.com/a-sansara

View File

@ -1,13 +1,13 @@
# pluie/alpine
- [index][1]
- [pluie/alpine][2] ( < 10 MB ) Alpine/3.4
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24
- [pluie/alpine-apache-fpm][7] ( ~ 50 MB ) Apache/2.4.23 Php/5.6.24 Fpm
- [pluie/alpine-symfony][6] ( ~ 82 MB ) Symfony2.8 or 3.2
- [pluie/alpine-apache-php7][8] ( ~ 50 MB ) Apache/2.4.25 Php/7.0.15
- [pluie/alpine-symfony-php7][9] ( ~ 82 MB ) Symfony2.8 or 3.2 Php/7.0.15
- [pluie/alpine-mysql][4] ( ~172 MB ) Mysql/5.5.47 ( MariaDB )
- [pluie/alpine][2] ( ~ 9 MB ) Alpine/3.5
- [pluie/alpine-apache][3] ( ~ 50 MB ) Apache/2.4.25 Php/5.6.30
- [pluie/alpine-apache-fpm][7] ( ~ 51 MB ) Apache/2.4.25 Php/5.6.30 Fpm
- [pluie/alpine-symfony][6] ( ~ 83 MB ) Symfony2.8 or 3.2
- [pluie/alpine-apache-php7][8] ( ~ 45 MB ) Apache/2.4.25 Php/7.0.16
- [pluie/alpine-symfony-php7][9] ( ~ 77 MB ) Symfony2.8 or 3.2 Php/7.0.16
- [pluie/alpine-mysql][4] ( ~181 MB ) Mysql/5.6 ( MariaDB )
- [docker tips][5]
This Image provide a Linux Alpine distribution with :
@ -27,7 +27,7 @@ apk add ca-certificates wget && update-ca-certificates
## Image Size
- very small image < 10 MB
- very small image ~ 9 MB
## Image Usage
@ -59,13 +59,13 @@ project/
```
you can easily create your own images based on this structure.
keep an eye to pluie/alpine-apache & pluie/alpine-mysql wich extend pluie/alpine
keep an eye to pluie/alpine-apache, pluie/alpine-apache-php7 & pluie/alpine-mysql wich extend pluie/alpine
## Extend pluie/alpine Image
RUN instructions are minimized
on extended image you can only use :
on extended image you only need to use :
```
RUN bash /scripts/install.sh
```
@ -93,7 +93,7 @@ ENV SHENV_NAME=Apache \
WWW_DIR=www \
WWW_INDEX=index.php \
FIX_OWNERSHIP=1 \
TZ=Europe/Paris
TZ=Europe/Paris
EXPOSE 80

Binary file not shown.