sysbox icon indicating copy to clipboard operation
sysbox copied to clipboard

OpenSUSE

Open mwaeckerlin opened this issue 2 years ago • 4 comments

Building only in a distribution specific Dockerfile is not a good idea, because it excludes all distributions you're not thinking of, e.g.:

ERROR: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount3284282159/Dockerfile.opensuse-tumbleweed-: no such file or directory

There should be at least an option to build outside of docker!

Please support OpenSUSE.

mwaeckerlin avatar Jul 20 '23 06:07 mwaeckerlin

Hi @mwaeckerlin, just so we have more context, what Dockerfile are you referring to please?

Thanks!

ctalledo avatar Jul 23 '23 00:07 ctalledo

The one the build system does not find, please check the error message above.

mwaeckerlin avatar Jul 23 '23 09:07 mwaeckerlin

It seems like build is done exclusively in a docker environment, and it seems like Dockerfiles are provided, but onnly for a few selected distribuitions / architectures. That's why developers normally use autotools to build stuff, because they don't depend on specific distros.

Currently it's not possible to build for OpenSUSE Tumbleweed.

mwaeckerlin avatar Jul 23 '23 09:07 mwaeckerlin

Hi @mwaeckerlin,

Yes the build is done exclusively inside a Docker container (to keep the host clean); however the main reason we have per-distro Dockerfiles is not so much for building, but rather because we also test Sysbox inside the container, and we want the container to mimic the specific distros where Sysbox runs.

Happy to support OpenSUSE of course; if you have the cycles, please help us create the Dockerfile for it and we can check it by running the Sysbox test suite inside that OpenSUSE container.

Thanks.

ctalledo avatar Jul 31 '23 02:07 ctalledo