This is an automated email from the ASF dual-hosted git repository.
jgemignani pushed a commit to branch multi-arch-build-test
in repository https://gitbox.apache.org/repos/asf/age.git
The following commit(s) were added to refs/heads/multi-arch-build-test by this
push:
new b33e6428 Add multi platform config for container (#1613)
b33e6428 is described below
commit b33e64283695603044968b8ac1994d50636899a0
Author: Muhammad Taha Naveed <[email protected]>
AuthorDate: Thu Feb 15 00:48:11 2024 +0500
Add multi platform config for container (#1613)
---
docker/Dockerfile | 2 +-
docker/hooks/build | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 9cf68993..0df81e4d 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -38,7 +38,7 @@ COPY . /age
WORKDIR /age
-RUN make clean && make install
+RUN make && make install
COPY docker/docker-entrypoint-initdb.d/00-create-extension-age.sql
/docker-entrypoint-initdb.d/00-create-extension-age.sql
diff --git a/docker/hooks/build b/docker/hooks/build
index 2dc25a6c..981c1204 100644
--- a/docker/hooks/build
+++ b/docker/hooks/build
@@ -1,4 +1,4 @@
#!/bin/bash
-docker buildx create --name multiarch --use
-docker buildx build ../ -t $IMAGE_NAME -f Dockerfile --platform
linux/arm64/v8,linux/amd64 --push --no-cache
\ No newline at end of file
+docker buildx create --name multiarch --use --platform
linux/amd64,linux/arm64/v8
+docker buildx build ../ -t $IMAGE_NAME -f Dockerfile --platform
linux/arm64/v8,linux/amd64 --push
\ No newline at end of file