Open
Description
Describe the bug
I m using quickstart guide, to install polaris in my GCP VM
export ASSETS_PATH=$(pwd)/getting-started/assets/
export QUARKUS_DATASOURCE_JDBC_URL=$(printf '%s' "jdbc:postgresql://<host:port>/postgres")
export QUARKUS_DATASOURCE_USERNAME=polaris
export QUARKUS_DATASOURCE_PASSWORD=<my-password>
export CLIENT_ID=<my-client>
export CLIENT_SECRET=<my-secret>
echo $QUARKUS_DATASOURCE_JDBC_URL
GCS_BUCKET_NAME=<my-bucket>
echo "GCS Bucket Name: $GCS_BUCKET_NAME"
export STORAGE_LOCATION="gs://$GCS_BUCKET_NAME/quickstart_catalog/"
# got this command from deploy-gcp.sh
./gradlew clean :polaris-server:assemble :polaris-admin:assemble \
-Dquarkus.container-image.tag=postgres-latest \
-Dquarkus.container-image.build=true \
--no-build-cache --stacktrace --debug
OR
# command from quickstart guide
./gradlew clean \
:polaris-server:assemble \
:polaris-server:quarkusAppPartsBuild \
:polaris-admin:assemble --rerun \
-Dquarkus.container-image.tag=postgres-latest \
-Dquarkus.container-image.build=true
To Reproduce
Use same commands as description
Actual Behavior
Error after gradle clean cmd:
2025-06-20T14:11:07.189+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2025-06-20T14:11:07.191+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
2025-06-20T14:11:07.191+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2025-06-20T14:11:07.191+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
2025-06-20T14:11:07.191+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':polaris-admin:quarkusAppPartsBuild'.
2025-06-20T14:11:07.191+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > There was a failure while executing work items
2025-06-20T14:11:07.191+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > A failure occurred while executing io.quarkus.gradle.tasks.worker.BuildWorker
2025-06-20T14:11:07.192+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > io.quarkus.builder.BuildException: Build failure: Build failed due to errors
2025-06-20T14:11:07.192+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] [error]: Build step io.quarkus.container.image.docker.deployment.DockerProcessor#dockerBuildFromJar threw an exception: java.lang.RuntimeException: Unable to build container image. Please check your docker installation.
...
2025-06-20T14:11:07.192+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at java.base/java.lang.Thread.run(Thread.java:1583)
2025-06-20T14:11:07.192+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.jboss.threads.JBossThread.run(JBossThread.java:499)
2025-06-20T14:11:07.192+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2025-06-20T14:11:07.192+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2025-06-20T14:11:07.192+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
2025-06-20T14:11:07.192+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run with --scan to get full insights.
2025-06-20T14:11:07.193+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Get more help at https://help.gradle.org.
2025-06-20T14:11:07.193+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2025-06-20T14:11:07.193+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Exception is:
2025-06-20T14:11:07.193+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':polaris-admin:quarkusAppPartsBuild'.
2025-06-20T14:11:07.193+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at
....
2025-06-20T14:11:07.196+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: org.gradle.workers.WorkerExecutionException: There was a failure while executing work items
2025-06-20T14:11:07.196+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.workers.internal.DefaultWorkerExecutor.workerExecutionException(DefaultWorkerExecutor.java:223)
2025-06-20T14:11:07.196+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
....
2025-06-20T14:11:07.341+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
2025-06-20T14:11:07.341+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] [error]: Build step io.quarkus.container.image.docker.deployment.DockerProcessor#dockerBuildFromJar threw an exception: java.lang.RuntimeException: Unable to build container image. Please check your docker installation.
2025-06-20T14:11:07.341+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at io.quarkus.container.image.docker.common.deployment.CommonProcessor.buildFromJar(CommonProcessor.java:67)
2025-06-20T14:11:07.341+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at io.quarkus.container.image.docker.deployment.DockerProcessor.dockerBuildFromJar(DockerProcessor.java:62)
io.quarkus.deployment.QuarkusAugmentor.run(QuarkusAugmentor.java:161)
2025-06-20T14:11:07.342+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:368)
2025-06-20T14:11:07.342+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] ... 24 more
2025-06-20T14:11:07.342+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: java.lang.RuntimeException: Unable to build container image. Please check your docker installation.
2025-06-20T14:11:07.342+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at io.quarkus.container.image.docker.common.deployment.CommonProcessor.buildFromJar(CommonProcessor.java:67)
Expected Behavior
Should build polaris without errors
Additional context
No response
System information
using GCP VM(Debian 12) & AlloyDB
Git version: git version 2.39.5
Docker version: Docker version 28.2.2, build e6534b4
Java version: openjdk version "21.0.7" 2025-04-15 LTS
jq version: jq-1.6