osrf / rocker

A tool to run docker containers with overlays and convenient options for things like GUIs etc.
Apache License 2.0
555 stars 70 forks source link

Use Go OS detector #204

Closed ambroise-arm closed 1 year ago

ambroise-arm commented 1 year ago

Based on distro-detect.

Directly compile a static binary without using staticx. Which gives flexibility on the runtime architecture.

Fix https://github.com/osrf/rocker/issues/177

ambroise-arm commented 1 year ago

Is there documentation of what distros this covers?

I didn't see that documented, but https://github.com/dekobon/distro-detect/blob/5f5b9c724b9d9a117732d2a4292e6288905734e1/linux/distro.go#L225 lists the distributions that can be detected.