You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`BIN_DIR`| Directory in your `PATH` where you would like to symlink the scripts |`/usr/local/bin`| Any path on your system. Preferaby one already in your `PATH`|
177
183
|`SCRIPTS_DIR`| Directory where the scripts are generated (or removed). Relative to the repository's root |`scripts`| Any path on your system |
178
184
179
-
> **Note**: When overriding space separated values from the CLI, you have to escape spaces. For example in `bash` you use `\`:
185
+
> **Note**: When overriding space separated values from the CLI, you have to escape spaces. For example in `bash` you can use `\` or wrap your values in `"`:
180
186
>
181
187
> ```sh
182
188
> $ make build PHP_VERSIONS=7.0\ 7.1\ 7.2 PHP_VARIANTS=cli\ fpm
189
+
># or
190
+
> $ make build PHP_VERSIONS="7.0 7.1 7.2" PHP_VARIANTS="cli fpm"
183
191
>```
184
192
185
193
### Tasks
@@ -191,17 +199,17 @@ Locally builds all images from all possible combinations of `PHP_VERSIONS` and `
191
199
**Command:**
192
200
193
201
```sh
194
-
$ make build [PHP_VERSIONS=] [PHP_VARIANTS=] [SOURCE_BRANCH=] [DOCKER_TAG=] [DOCKER_REPO=]
202
+
$ make build [PHP_VERSIONS=] [PHP_VARIANTS=] [SOURCE_BRANCH=] [DOCKER_TAG=] [DOCKER_REPO=] [DOCKER_TAG=]
195
203
```
196
204
197
205
#### Remove the Images
198
206
199
-
Remove all locally cached images from all possible combinations of `PHP_VERSIONS` and `PHP_VARIANTS`.
207
+
Remove all locally cached images from all possible combinations of `PHP_VERSIONS` and `PHP_VARIANTS`. The `DOCKER_TAG` is used to target a specific PHP version, variant.
200
208
201
209
**Command:**
202
210
203
211
```sh
204
-
$ make rm_build [PHP_VERSIONS=] [PHP_VARIANTS=] [SOURCE_BRANCH=] [DOCKER_REPO=]
212
+
$ make rm_build [PHP_VERSIONS=] [PHP_VARIANTS=] [SOURCE_BRANCH=] [DOCKER_TAG=] [DOCKER_REPO=]
0 commit comments