scala / scala-lang

sources for the Scala language website
https://scala-lang.org
Other
270 stars 321 forks source link

build: fix docker compose permission #1680

Closed scarf005 closed 2 weeks ago

scarf005 commented 3 weeks ago

Summary

image

fixes #1678.

Solution Used

referenced jekyll/jekyll. completely removing all references to UID and GID fixed it. it works in both rootless mode and regular docker. both generated output aren't created as root but as host user.

rootless root
image image

Originally posted in https://github.com/scala/scala-lang/issues/1678#issuecomment-2304458997

SethTisue commented 2 weeks ago

I don't know Docker stuff, but sure, merging optimistically :-)

Thank you!