Build instructions not working
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 522
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 140
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:///postgres")
export QUARKUS_DATASOURCE_USERNAME=polaris
export QUARKUS_DATASOURCE_PASSWORD=
export CLIENT_ID=
export CLIENT_SECRET=
echo $QUARKUS_DATASOURCE_JDBC_URL
GCS_BUCKET_NAME=
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
Contributor guide
Research direction
Compare the quickstart guide with deploy-gcp.sh and reproduce the :polaris-admin:quarkusAppPartsBuild failure on the stated Debian 12 GCP VM. Start by checking the Docker installation and the exact container-build invocation shown in the error. Done means the documented command builds Polaris without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, gcp, java
- Domain
- build-system, cloud, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100