tetrabiodistributed / papra

Documentation repo for PAPRa - an open-source hardware (OSHW) Powered Air-Purifying Respirator (PAPR)
https://tetrabiodistributed.github.io/papra
MIT License
4 stars 7 forks source link

replace docker with podman in build and serve script #100

Closed capsulecorplab closed 1 year ago

capsulecorplab commented 1 year ago

running the static site build (and local server) via docker requires root permission on Linux, which generates build artifacts in dist/ that are read-only and requires root permissions to remove when cleaning the build cache. Because podman doesn't require running a daemon it can run root-less, therefore can generate build artifacts that aren't read-only.

mmroden commented 1 year ago

Docker is the de facto standard for dependency management for releases. Not sure I want to give that up because of having to run as sudo-- will podman still avoid the "runs on my machine" situation?

-------- Original Message -------- On Jan 9, 2023, 12:01 AM, Sean Marquez wrote:

running the static site build (and local server) via docker requires root permission on Linux, which generates build artifacts in dist/ that are read-only and requires root permissions to remove when cleaning the build cache. Because podman doesn't require running a daemon it can run root-less, therefore can generate build artifacts that aren't read-only.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

capsulecorplab commented 1 year ago

docker and podman are based on the same open standard, so in theory should be able to both run the same images cross-platform with virtually identical cli commands.

mmroden commented 1 year ago

according to https://podman.io/, "alias docker=podman", so go for it

------- Original Message ------- On Monday, January 9th, 2023 at 9:00 AM, Sean Marquez @.***> wrote:

docker and podman are based on the same open standard, so in theory should be able to both run the same images cross-platform with virtually identical cli commands.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>