Finally got my Dancer2 app working in my distroless perl container (25MB oci-archive). There were a lot of quirks in the fatpacking process which I didn't anticipate, such as XS dependencies (can't have those), incorrect paths (prefixed with x86_64-linux breaks INC), dancer2 behaving weirdly (could also be my container) and making the bin/ folder the cwd, resulting in breaking the other paths (views/, public/, ..).

But now that I have working container, I can start trimming some more excess from the container so i'm not shipping anything that isn't going to be used by the container.