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

--docker-build flag seems to have no effect with Gradle plugin #2786

Closed
vsodaitis opened this issue Jun 11, 2019 · 1 comment · Fixed by #3464
Closed

--docker-build flag seems to have no effect with Gradle plugin #2786

vsodaitis opened this issue Jun 11, 2019 · 1 comment · Fixed by #3464
Assignees
Labels
area/gradle Gradle kind/bug Something isn't working
Milestone

Comments

@vsodaitis
Copy link

Since 0.15.0 version, when buildNative gradle task is invoked it asks for GRAALVM_HOME environment variable regardless of whether it is being run with --docker-build=true or --docker-build=false

Expected behavior
I would expect the build to not require GRAALVM_HOME set when using docker image as a build environment

Environment (please complete the following information):

  • Output of uname -a or ver: Linux localhost.localdomain 5.1.7-300.fc30.x86_64 Switch to the Maven distributed copy of the SubstrateVM annotations #1 SMP Wed Jun 5 12:32:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
  • Output of java -version: openjdk version "1.8.0_212"
  • GraalVM version (if different from Java): graalvm-ce-1.0.0-rc16
  • Quarkus version or git rev: 0.16.1
@vsodaitis vsodaitis added the kind/bug Something isn't working label Jun 11, 2019
@gwenneg
Copy link
Member

gwenneg commented Aug 8, 2019

Hi @vsodaitis and thanks for reporting this issue!

I'm really sorry you had to wait so long for an answer, but this should be fixed in Quarkus 0.21.0.

@gwenneg gwenneg added area/gradle Gradle env/graalvm-java11 Relating to using GraalVM native image generation on Java 11 and removed env/graalvm-java11 Relating to using GraalVM native image generation on Java 11 labels Aug 8, 2019
@gwenneg gwenneg self-assigned this Aug 8, 2019
@gsmet gsmet added this to the 0.21.0 milestone Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/gradle Gradle kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants