File tree 2 files changed +46
-19
lines changed
2 files changed +46
-19
lines changed Original file line number Diff line number Diff line change 1
1
FROM php:7
2
- MAINTAINER Fabio Montefuscolo <[email protected] >
2
+ LABEL mantainer "TikiWiki <[email protected] >"
3
3
4
4
RUN apt-get update \
5
- && apt-get install -y libldb-dev libldap2-dev libmemcached-dev libpng-dev libjpeg-dev unzip \
5
+ && apt-get install -y libldb-dev libldap2-dev libmemcached-dev libpng-dev libjpeg-dev libzip-dev unzip \
6
6
&& ln -s /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/libldap.so \
7
7
&& ln -s /usr/lib/x86_64-linux-gnu/liblber.so /usr/lib/liblber.so \
8
8
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
@@ -22,7 +22,7 @@ RUN apt-get update \
22
22
composer global require psy/psysh --prefer-stable; \
23
23
} \
24
24
&& rm installer.php \
25
- && apt-get purge -y libldb-dev libldap2-dev libmemcached-dev libpng-dev libjpeg-dev \
25
+ && apt-get purge -y libldb-dev libldap2-dev libmemcached-dev libpng-dev libjpeg-dev libzip-dev \
26
26
&& rm -rf /var/lib/apt/lists/* \
27
27
&& rm -rf /tmp/* \
28
28
&& { \
Original file line number Diff line number Diff line change 3
3
A PHP image extended to bundle libraries commonly used in PHP projects. The following
4
4
libraires are included:
5
5
6
- * libpng12
7
- * libjpeg
8
- * libmemcached
9
- * libmcrypt
6
+ * apcu
7
+ * calendar
8
+ * Core
9
+ * ctype
10
+ * curl
11
+ * date
12
+ * dom
13
+ * fileinfo
14
+ * filter
15
+ * ftp
10
16
* gd
11
- * mysqli
12
- * opcache
13
- * zip
17
+ * hash
18
+ * iconv
19
+ * json
20
+ * ldap
21
+ * libxml
14
22
* mbstring
15
- * mcrypt
16
- * memcache
17
23
* memcached
24
+ * mysqli
25
+ * mysqlnd
26
+ * openssl
27
+ * pcre
28
+ * PDO
29
+ * pdo_mysql
30
+ * pdo_sqlite
31
+ * Phar
32
+ * posix
33
+ * readline
34
+ * Reflection
35
+ * session
36
+ * SimpleXML
37
+ * sodium
38
+ * SPL
39
+ * sqlite3
40
+ * standard
41
+ * tokenizer
18
42
* xdebug
19
-
43
+ * xml
44
+ * xmlreader
45
+ * xmlwriter
46
+ * zip
47
+ * zlib
20
48
21
49
## Usage
22
50
23
51
### Simple server
24
52
25
53
```
26
- docker run --name elephant -v /path/to/project :/var/www/html -d hacklabr /php
54
+ docker run --name tikiwiki -v /path/tiki-source :/var/www/html -d tikiwiki /php
27
55
```
28
56
29
57
@@ -32,7 +60,7 @@ docker run --name elephant -v /path/to/project:/var/www/html -d hacklabr/php
32
60
When creating your container, enable XDebug by setting env variable ` XDEBUG `
33
61
34
62
```
35
- docker run --name elephant -e XDEBUG=1 -v /path/to/project :/var/www/html -d hacklab /php
63
+ docker run --name tikiwiki -e XDEBUG=1 -v /path/tiki-source :/var/www/html -d tikiwiki /php
36
64
```
37
65
38
66
Tell your Atom about folder mapping by editin ` config.cson ` . You have to configure the
@@ -42,7 +70,7 @@ section called "php-debug". It should look like this:
42
70
"php-debug":
43
71
PathMaps: [
44
72
"remotepath;localpath"
45
- "/var/www/html/;/home/fabio/devel/catraca/src/ "
73
+ "/var/www/html/;/path/tiki-source "
46
74
]
47
75
PhpException:
48
76
CatchableFatalError: false
@@ -65,8 +93,8 @@ upload 2GB files.
65
93
66
94
67
95
```
68
- FROM hacklab /php
69
- LABEL mantainer "Hacklab <contato@hacklab .com.br >"
96
+ FROM tikiwiki /php
97
+ LABEL mantainer "Some Developer <developer@example .com>"
70
98
71
99
RUN { \
72
100
echo "file_uploads = On"; \
@@ -77,4 +105,3 @@ RUN { \
77
105
78
106
USER root
79
107
```
80
-
You can’t perform that action at this time.
0 commit comments