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

Fix Java path in Dockerfile #2546

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sixhobbits
Copy link
Collaborator

If I run the Dockerfile as is I get an error

fusionauth-site$ ./run-docker
/usr/local/bin/sb: line 33: /usr/lib/jvm/java-17-openjdk-amd64/bin/java: No such file or directory

If I ssh into the container and run which java it tells me java is in /usr/bin/java

Changing this environment variable uses that Java binary (/bin/java is added later), and everything builds successfully. I can visit the site on the host machine at localhost:4000 as expected.

Not sure if this is somehow platform specific? I am using an M1 mac.

@mooreds
Copy link
Contributor

mooreds commented Sep 21, 2023

@vcampitelli can you please take a look? I think you created the dockerfile and are a primary user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants