Closed davidsierradz closed 1 year ago
Hej @davidsierradz!
I have simplified the build step and this issue should not happen again, please check v1.6.2
Please comment if that didn't help.
Hi, thanks for checking this out! Unfortunately the files keep being created as root (on the host) so the rm
commands don't work.
According to permissions - Docker mount volumes as root - Stack Overflow, because the Docker daemon is running as root on my machine, all filesystem interactions are done with root as well. Are you running a root-less docker setup (or podman)?
He recommends using named volumes instead of mount points, to abstract all filesystem behavior (permissions, OS-level differences, etc.)
I got the following working https://github.com/davidsierradz/pragmasevka/tree/named-volumes, with some additional commands because:
[feature] Allow mounting sub-directories of named volumes · Issue #32582 · moby/moby
How to copy files into a named volume without an attached container? · Issue #25245 · moby/moby
I think maybe this is too much complexity for not a lot of improvement. At the end, I can simple make a sudo make font
and sudo chowm ...
without much problem. It was fun learning more about Docker nonetheless
@davidsierradz oh wow!
Would you mind if I copy that? Or maybe I may ask you to create a PR?
Yeah! Feel free to copy/improve the code.
@davidsierradz I have tried your approach and I hope it works now as it should!
Thanks, it does!
Hi! I'm trying to build the font locally, but I'm getting the following errors on a Linux box:
Thanks! Nice font!