Skip to content

Extract target CPU architecture from unikernel binary  #7

@gntouts

Description

@gntouts

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions