Skip to content

Maybe we shouldn't compile the base image?

Cory Massaro requested to merge apine-compile-separate into main

When I build a base image locally (and specify it as a base), everything works fine.

When I use the base images from docker-registry, for both RustPython and QuickJS, I get Illegal instruction (core dumped).

This implies to me that some problem arises when our build steps happen in separate images (perhaps on separate machines?).

One hypothesis: wasmedge compile is causing this issue. If we ship an uncompiled binary in the base image, then compile it as part of building the evaluator service, that may solve the problem. I can only test this if we put a new image on docker-registry, though.

Merge request reports