Skip to content

Commit 9d9d6b5

Browse files
committed
update README + add kool.yml
1 parent f525e45 commit 9d9d6b5

3 files changed

Lines changed: 16 additions & 27 deletions

File tree

README.md

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,6 @@ Minimal PHP Docker image for wordpress based on [kooldev/php](https://github.com
66

77
## Available Tags
88

9-
### 7.1
10-
11-
- [7.1](https://github.com/kool-dev/docker-wordpress/blob/master/7.1/Dockerfile)
12-
- [7.1-prod](https://github.com/kool-dev/docker-wordpress/blob/master/7.1-prod/Dockerfile)
13-
- [7.1-nginx](https://github.com/kool-dev/docker-wordpress/blob/master/7.1-nginx/Dockerfile)
14-
- [7.1-nginx-prod](https://github.com/kool-dev/docker-wordpress/blob/master/7.1-nginx-prod/Dockerfile)
15-
16-
### 7.2
17-
18-
- [7.2](https://github.com/kool-dev/docker-wordpress/blob/master/7.2/Dockerfile)
19-
- [7.2-prod](https://github.com/kool-dev/docker-wordpress/blob/master/7.2-prod/Dockerfile)
20-
- [7.2-nginx](https://github.com/kool-dev/docker-wordpress/blob/master/7.2-nginx/Dockerfile)
21-
- [7.2-nginx-prod](https://github.com/kool-dev/docker-wordpress/blob/master/7.2-nginx-prod/Dockerfile)
22-
23-
### 7.3
24-
25-
- [7.3](https://github.com/kool-dev/docker-wordpress/blob/master/7.3/Dockerfile)
26-
- [7.3-prod](https://github.com/kool-dev/docker-wordpress/blob/master/7.3-prod/Dockerfile)
27-
- [7.3-nginx](https://github.com/kool-dev/docker-wordpress/blob/master/7.3-nginx/Dockerfile)
28-
- [7.3-nginx-prod](https://github.com/kool-dev/docker-wordpress/blob/master/7.3-nginx-prod/Dockerfile)
29-
309
### 7.4
3110

3211
- [7.4](https://github.com/kool-dev/docker-wordpress/blob/master/7.4/Dockerfile)
@@ -37,3 +16,9 @@ Minimal PHP Docker image for wordpress based on [kooldev/php](https://github.com
3716
## How to
3817

3918
Check [kooldev/php](https://github.com/kool-dev/docker-php) to see available options.
19+
20+
### Update images with templates
21+
22+
You should change `fwd-template.json` for configuration and `template` folder for the actual base templates.
23+
24+
After any changes, we need to run `kool run template` to parse the templates and generate all versions folder/files.

build.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

kool.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
scripts:
2+
template: kool docker fireworkweb/fwd:v1.0 fwd template
3+
build:
4+
# parse templates
5+
- kool run template
6+
# PHP 7.4
7+
- docker build --pull -t kooldev/wordpress:7.4 7.4
8+
- docker build -t kooldev/wordpress:7.4-prod 7.4-prod
9+
- docker build -t kooldev/wordpress:7.4-nginx 7.4-nginx
10+
- docker build -t kooldev/wordpress:7.4-nginx-prod 7.4-nginx-prod

0 commit comments

Comments
 (0)