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.
1 parent c2ca71b commit 1a8440bCopy full SHA for 1a8440b
1 file changed
Makefile
@@ -1,8 +1,11 @@
1
DOCKER_IMAGE=dockette/php
2
+DOCKER_PLATFORM?=linux/amd64
3
4
_build-%: VERSION=$*
5
_build-%:
- docker build \
6
+ docker buildx \
7
+ build \
8
+ --platform ${DOCKER_PLATFORM} \
9
--pull \
10
-t ${DOCKER_IMAGE}:${VERSION} \
11
./${VERSION}
0 commit comments