Currently, we rely on a non-standard ARCH instruction provided by the user to determine the CPU architecture for the container image.
This could be extracted by reading the ELF header of the unikernel binary, using GetBinaryArchitecture().
To do that, we should iterate over every COPY instruction and find the one that matches the file defined from com.urunc.unikernel.binary LABEL.
Currently, we rely on a non-standard ARCH instruction provided by the user to determine the CPU architecture for the container image.
This could be extracted by reading the ELF header of the unikernel binary, using GetBinaryArchitecture().
To do that, we should iterate over every COPY instruction and find the one that matches the file defined from
com.urunc.unikernel.binaryLABEL.