Skip to content

Commit 5adc164

Browse files
authored
Merge pull request #3 from bioshazard/feature/NT-dockerhub-readme
NT: Documents the DockerHub integration
2 parents edeec8f + 68e0e52 commit 5adc164

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ This Docker image adds the following tools to the docksal/cli image:
99
* [puppeteer v1.2](https://github.com/puppeteer/puppeteer) (needs testing with v2.x)
1010
* vim
1111

12+
## DockerHub Integration
13+
14+
* To generate new images for the latest Docksal version, add a new tag off `master` like `2.12`
15+
* To enable more PHP versions like `php7.4`, go into DockerHub and add another automated build target:
16+
* Source Type: `Tag`
17+
* Source: `^[0-9.]+$`
18+
* Docker Tag: `{sourceref}-php7.4`
19+
* Dockerfile Location: `Dockerfile`
20+
* Build Context: `/`
21+
* Autobuild: On
22+
* Build Caching: Off
23+
* DockerHub has automated builds configured to watch for new [tags](https://github.com/phase2/docker-cli/tags)
24+
* It will match any tag with the pattern `[0-9.]+` basically so we can keep up with Docksal's #.## versioning format
25+
* DockerHub uses [hooks/build](hooks/build) to override the `CLI_VERSION` value with the matched tag for each of the PHP versions in the automated builds list
26+
1227
## Using pa11y with Docksal
1328

1429
In the project `.docksal/docksal.env` set the following:

0 commit comments

Comments
 (0)