-
Notifications
You must be signed in to change notification settings - Fork 1
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
alternative Docker installation #7
Comments
This is an interesting idea, never thought about it! I'll consider it, but I don't think it's a priority for now. There are still a lot of features to implement and improve. |
For anyone who'd like to use Docker I've built one at dmd3eorg/battleship.
To run: |
Nice one! I tried running it and noticed, that the game looks a bit... funny. :) I believe you have to run it with |
That is the version pip and pipx retrieve!
|
Weird - pipx under python 3.13 pulls 0.10, under 3.12 pulls 0.24.1. |
Ok, updated. The new Dockerfile is FROM python:3.12
RUN python -m pip install --upgrade pip
RUN python -m pip install --upgrade pipx
RUN pipx install battleship-tui[client]
ENV COLORTERM=truecolor
CMD ["/root/.local/bin/battleship"] and I've pushed it to |
Yes, this is due to the Python version constraint. 😕 I didn't update it after 3.13 was released. And some earlier versions were built for |
If you would push a Docker image for the client, that would be another easy way for some people to play. You can have Github build a multiarch image for you.
Dockerfile is just:
to run:
docker run -ti -v ~/.cache/battleship:/root/.cache/battleship battleship
The text was updated successfully, but these errors were encountered: