Skip to content

Commit 39f4647

Browse files
committed
fix build script to build the the fpm version if needed
1 parent ee2b344 commit 39f4647

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hooks/build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ flavour=""
55
if [ -z "${DOCKER_TAG##*-alpine*}" ]; then
66
flavour="-alpine"
77
fi
8+
if [ -z "${DOCKER_TAG##*-fpm*}" ]; then
9+
version="${version}-fpm"
10+
fi
811

912
echo "[***] building PHP base image version $version - ${flavour:-vanilla} (${DOCKER_TAG})"
1013

0 commit comments

Comments
 (0)