-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lion
committed
Nov 14, 2018
1 parent
109bb06
commit 8d45324
Showing
7 changed files
with
141 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
ubuntu16.04-tengine2.2.0-php7.1.9-dokuwiki/2018-04-22a/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM idoall/ubuntu16.04-tengine2.2.0-php:7.1.9 | ||
MAINTAINER lion <[email protected]> | ||
|
||
ENV DOKUWIKI_VERSION 2018-04-2a | ||
ENV DOKUWIKI_HASH 8a269cc015a64b40e4c918699f1e1142 | ||
|
||
|
||
RUN wget -O /home/work/_src/dokuwiki.tgz https://download.dokuwiki.org/out/dokuwiki-$DOKUWIKI_HASH.tgz \ | ||
&& cd /home/work/_src \ | ||
&& tar xzvf dokuwiki.tgz \ | ||
&& mv dokuwiki/* /home/work/_app/nginx/html | ||
|
||
|
||
# ----------------------------------------------------------------------------- | ||
# 清除 | ||
# ----------------------------------------------------------------------------- | ||
RUN chmod 755 /hooks \ | ||
&& chown -R work:work /home/work/* \ | ||
&& apt-get -y clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& rm -rf /var/cache/apt/archives/apt-fast/* \ | ||
&& rm -rf /home/work/_src/* |
46 changes: 46 additions & 0 deletions
46
ubuntu16.04-tengine2.2.0-php7.1.9-dokuwiki/2018-04-22a/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# 目录 | ||
|
||
[TOC] | ||
|
||
# Docker-Dokuwiki-PHP7.1.9-Tengine/2.2.0 (Nginx/1.8.1)-Ubuntu/16.04 | ||
|
||
|
||
|
||
This repository contains the sources for the following base images: | ||
- [`idoall/idoall/ubuntu16.04-tengine2.2.0-php:7.1.9`](https://hub.docker.com/r/idoall/ubuntu16.04-tengine2.2.0-php/) | ||
|
||
|
||
|
||
## Developing | ||
|
||
```bash | ||
# Pull image | ||
git clone https://github.com/idoall/docker.git | ||
cd ubuntu16.04-tengine2.2.0-php7.1.9-dokuwiki/2018-04-22a | ||
|
||
# hack hack hack | ||
|
||
# build | ||
docker build -t idoall/ubuntu16.04-tengine2.2.0-php7.1.9-dokuwiki:20180412a . | ||
|
||
# run | ||
docker run -it \ | ||
--rm \ | ||
--name dokuwiki \ | ||
--hostname dokuwiki \ | ||
-p 80:80 \ | ||
idoall/ubuntu16.04-tengine2.2.0-php7.1.9-dokuwiki:20180412a | ||
|
||
# Then setup dokuwiki using installer at URL http://localhost/install.php | ||
``` | ||
|
||
|
||
## Where is the data stored? | ||
|
||
The dokuwiki container uses host mounted volumes to store persistent data: | ||
|
||
| Local location | Container location | | ||
| ---------------------- | ---------------------------------------- | | ||
| `/srv/dokuwiki_folder` | `/home/work/_app/nginx/html` | | ||
|
||
You can fine tune these directories to meet your requirements. |
23 changes: 23 additions & 0 deletions
23
ubuntu16.04-tengine2.2.0-php7.1.9-zentao/10.5.1/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM idoall/ubuntu16.04-tengine2.2.0-php:7.1.9 | ||
MAINTAINER lion <[email protected]> | ||
|
||
ENV ZENTAO_VERSION 10.5.1 | ||
|
||
RUN mkdir -p /home/work/_app/php7.1.9/session \ | ||
&& chmod o=rwx -R /home/work/_app/php7.1.9/session | ||
|
||
RUN wget -O /home/work/_src/zenTaoPMS.zip http://dl.cnezsoft.com/zentao/10.5.1/ZenTaoPMS.$ZENTAO_VERSION.zip \ | ||
&& cd /home/work/_src \ | ||
&& unzip zenTaoPMS.zip \ | ||
&& mv zentaopms/* /home/work/_app/nginx/html | ||
|
||
|
||
# ----------------------------------------------------------------------------- | ||
# 清除 | ||
# ----------------------------------------------------------------------------- | ||
RUN chmod 755 /hooks \ | ||
&& chown -R work:work /home/work/* \ | ||
&& apt-get -y clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& rm -rf /var/cache/apt/archives/apt-fast/* \ | ||
&& rm -rf /home/work/_src/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# 目录 | ||
|
||
[TOC] | ||
|
||
# Docker-Dokuwiki-PHP7.1.9-Tengine/2.2.0 (Nginx/1.8.1)-Ubuntu/16.04 | ||
|
||
|
||
|
||
This repository contains the sources for the following base images: | ||
- [`idoall/idoall/ubuntu16.04-tengine2.2.0-php:7.1.9`](https://hub.docker.com/r/idoall/ubuntu16.04-tengine2.2.0-php/) | ||
|
||
|
||
|
||
## Developing | ||
|
||
```bash | ||
# Pull image | ||
git clone https://github.com/idoall/docker.git | ||
cd ubuntu16.04-tengine2.2.0-php7.1.9-zentao/10.5.1 | ||
|
||
# hack hack hack | ||
|
||
# build | ||
docker build -t idoall/ubuntu16.04-tengine2.2.0-php7.1.9-zentao:10.5.1 . | ||
|
||
# run | ||
docker run -it \ | ||
--rm \ | ||
--name zentao \ | ||
--hostname zentao \ | ||
-p 80:80 \ | ||
idoall/ubuntu16.04-tengine2.2.0-php7.1.9-zentao:10.5.1 | ||
|
||
# Then setup dokuwiki using installer at URL http://localhost/www/index.php | ||
``` | ||
|
||
|
||
## Where is the data stored? | ||
|
||
The dokuwiki container uses host mounted volumes to store persistent data: | ||
|
||
| Local location | Container location | | ||
| ---------------------- | ---------------------------------------- | | ||
| `/srv/dokuwiki_folder` | `/home/work/_app/nginx/html` | | ||
|
||
You can fine tune these directories to meet your requirements. |