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

Add Dockerfile #93

Merged
merged 3 commits into from
Oct 26, 2023
Merged

Add Dockerfile #93

merged 3 commits into from
Oct 26, 2023

Conversation

PikalaxALT
Copy link
Collaborator

No description provided.

INSTALL.md Outdated

./clean.sh
docker build . -t pret/pokeplatinum
docker run -w /rom -v .:/rom pret/pokeplatinum sh -c "./config.sh && ./build.sh"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Does the user need to run config and build each time? Or is it just build after the initial config like in the existing instructions for desktop environments?
  2. Is the built ROM accessible to the user after it's been built?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they only need to run config once, and yes the rom is accessible to the user because of the volume mount (-v .:/rom)

Copy link
Collaborator

@lhearachel lhearachel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending confirmation that this works as expected. LGTM otherwise

Copy link

@SethBarberee SethBarberee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cloned fresh repo and built rom on Arch Linux. Game booted just fine on melonDS.

@lhearachel
Copy link
Collaborator

I also got an OK on Mac, but I had to install an X server (XQuartz, specifically).

@mid-kid
Copy link
Member

mid-kid commented Oct 25, 2023

It's odd that you needed an X server. This is bad also on linux as more and more people transition to wayland. Try this maybe https://superuser.com/questions/902175/run-wine-totally-headless#948200

Also, why not pip install --user? If the PATH variable isn't picked up properly you can always run /bin/bash -l instead of /bin/sh

@lhearachel lhearachel merged commit ea2ffe3 into pret:main Oct 26, 2023
1 check passed
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.

4 participants