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

papatcher can run out of cache space sometimes #2

Open
RustyRaptor opened this issue Jan 3, 2022 · 2 comments
Open

papatcher can run out of cache space sometimes #2

RustyRaptor opened this issue Jan 3, 2022 · 2 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@RustyRaptor
Copy link

I made an issue on the patcher github already but I am making one here because the main purpose is so that if anyone else runs into this they can find this. planetary-annihilation/papatcher#2 (comment)

Here's what I did.

  1. Create a fork of the papatcher and a fork of this docker github repo.
  2. In the docker fork inside the Dockerfile change it so that it points to your version of the papatcher.go instead of the original.
  3. In the fork of the papatcher you need to find where it constructs the path to the cache directory. In the one for linux change the "~" to be a hard coded path to your home. For example "/home/username"
  4. Now once you did all that you can run the same docker build command but of course replace the github repo to the new repo you made for the docker file.
@RustyRaptor
Copy link
Author

And because why not. This isn't related to this specific docker but if you had this issue you probably also have the issue of docker storing everything in /var/lib/docker/overlay2
well here's the solution to that one. https://forums.docker.com/t/how-to-change-var-lib-docker-directory-with-overlay2/43620/2

@Laura7089 Laura7089 added bug Something isn't working wontfix This will not be worked on labels Jun 9, 2022
@Laura7089
Copy link
Member

Thanks for pointing this out :)

I've marked as wontfix since this is an upstream issue, but I invite you to close this if that problem is resolved in the patcher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants