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 2034dfd5 Update dockerfile make commands and build hook (#1599)
2034dfd5 is described below
commit 2034dfd52b76fdb7d652d0f2861eddabfb6a032d
Author: Muhammad Taha Naveed <[email protected]>
AuthorDate: Wed Feb 14 01:08:40 2024 +0500
Update dockerfile make commands and build hook (#1599)
---
docker/Dockerfile | 2 +-
docker/hooks/build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 0df81e4d..9cf68993 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -38,7 +38,7 @@ COPY . /age
WORKDIR /age
-RUN make && make install
+RUN make clean && 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 5edfb7f1..c419d92a 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 newline at end of file
+docker buildx build . -t $IMAGE_NAME -f Dockerfile --platform
linux/arm64/v8,linux/amd64 --push --no-cache
\ No newline at end of file