Open joh-ku opened 3 days ago
The scratch
image is completely empty and it seem like your workload assumes that some of the dynamic linking infrastructure is present - e.g. /libexec/ld-elf.so.1
. You can either re-link the workload to avoid dynamic linking (e.g. using something like clang -static
) or replace scratch
with an image which contains the dynamic linking stuff - quay.io/dougrabson/freebsd14.0-static:latest
should work.
Playing around with the new OCI stack, I tried to port Vikunja to FreeBSD. I came up with the following Dockerfile:
The final image is built
FROM scratch
. While Buildah successfully builds the above image, it's not possible to run it, as it'll exit with code 134. The log indicates a missing library:When using a base image like
quay.io/bergblume/freebsd:14.1
instead ofscratch
, the image will run without error. Seems like an edge case. I'm not sure how to handleFROM scratch
correctly.