We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c307a80 + ccabb9b commit edeec8fCopy full SHA for edeec8f
Dockerfile
@@ -1,4 +1,5 @@
1
-ARG CLI_VERSION=2.10-php7.3
+ARG CLI_VERSION=2.12-php7.4
2
+
3
# Extend the Docksal CLI per https://docs.docksal.io/stack/extend-images/
4
FROM docksal/cli:${CLI_VERSION}
5
build.sh
100644
100755
@@ -2,10 +2,16 @@
set -e
-CLI_VERSION="2.10"
6
-for tag in {"php7.2" "php7.3"}; do
+# Arguments: $1 tag, $2 CLI_VERSION
+build() {
7
docker build \
8
- --build-arg CLI_VERSION="${CLI_VERSION}-${tag}" \
9
- -t outrigger/cli:${CLI_VERSION}-${tag} \
+ --build-arg CLI_VERSION="${2}-${1}" \
+ -t outrigger/cli:"${2}-${1}" \
10
.
11
+}
12
13
+build "php7.2" "2.10"
14
15
+for tag in "php7.3" "php7.4"; do
16
+ build $tag "2.12"
17
done
0 commit comments