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

#1-Project skeleton #5

Merged
merged 2 commits into from
Mar 21, 2024
Merged

#1-Project skeleton #5

merged 2 commits into from
Mar 21, 2024

Conversation

BarTracz
Copy link
Collaborator

This should close #1. I tried to add Docker but I don't know how to do it for application with Maven wrapper and JavaFX.

project initialization. Yet to add docker and try to clean-up everything
@mtracz
Copy link

mtracz commented Mar 14, 2024

Did you try this?
https://docs.docker.com/language/java/containerize/

moby/moby#8710
https://leimao.github.io/blog/Docker-Container-GUI-Display/
https://www.baeldung.com/linux/docker-container-gui-applications

Try with x11 socket

 -v /tmp/.X11-unix:/tmp/.X11-unix \ # mount the X11 socket
    -e DISPLAY=unix$DISPLAY \ # pass the display
    --device /dev/snd \ # sound

@BarTracz
Copy link
Collaborator Author

BarTracz commented Mar 15, 2024

For now, I am using Maven wrapper, and I have an issue where, while building, I get

> [server deps 7/7] RUN ./mvnw  install -DskipTests     --mount=type=bind,source=pom.xml,target=pom.xml:
0.102 /bin/sh: 1: ./mvnw: not found

Sources say it is a permissions problem, but when I edit them, the same issue persists. I want to run ./mvnw javafx:run at the end, though I don't know if it is a good approach.

@BarTracz BarTracz requested a review from mtracz March 18, 2024 18:10
@BarTracz BarTracz mentioned this pull request Mar 18, 2024
@BarTracz BarTracz merged commit 33a3f3b into main Mar 21, 2024
@BarTracz BarTracz deleted the #1-Project-skeleton branch March 21, 2024 11:47
@BarTracz BarTracz restored the #1-Project-skeleton branch March 21, 2024 12:21
@BarTracz BarTracz deleted the #1-Project-skeleton branch March 25, 2024 13:39
@BarTracz BarTracz mentioned this pull request Mar 25, 2024
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.

Project skeleton
3 participants