Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quarkus image build is unable to build a blank quarkus app #44672

Open
Hu1buerger opened this issue Nov 24, 2024 · 1 comment
Open

quarkus image build is unable to build a blank quarkus app #44672

Hu1buerger opened this issue Nov 24, 2024 · 1 comment
Labels
area/jbang Issues related to when using jbang.dev with Quarkus kind/bug Something isn't working

Comments

@Hu1buerger
Copy link

Describe the bug

quarkus image build not able to build a clean quarkus app.

Expected behavior

I would expect that quarkus image build can build a docker image for a newly create quarkus app (quarkus create app explorviz.span-service --gradle)

Actual behavior

quarkus image build
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.9/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 

FAILURE: Build failed with an exception.

* What went wrong:
Problem configuring task :imageBuild from command line.
> Unknown command-line option '--builder'.

* Try:
> Run gradlew help --task :imageBuild to get task usage details.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 30s

How to Reproduce?

Steps to reproduce this:

  1. docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -it ghcr.io/graalvm/graalvm-community:21 bash
  2. curl -Ls https://sh.jbang.dev | bash -s - app setup && source /root/.bashrc
  3. jbang app install --fresh --force quarkus@quarkusio
  4. quarkus create app explorviz.span-service --gradle
  5. cd explorviz.span-service/
  6. quarkus ext add container-image-docker # is this necessary?
  7. quarkus image build

Output of uname -a or ver

No response

Output of java -version

21

Quarkus version or git rev

3.16.4

Build tool (ie. output of mvnw --version or gradlew --version)

8.9

Additional information

No response

@Hu1buerger Hu1buerger added the kind/bug Something isn't working label Nov 24, 2024
@quarkus-bot quarkus-bot bot added the area/jbang Issues related to when using jbang.dev with Quarkus label Nov 24, 2024
Copy link

quarkus-bot bot commented Nov 24, 2024

/cc @maxandersen (jbang), @quarkusio/devtools (jbang)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/jbang Issues related to when using jbang.dev with Quarkus kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant