Closed
Description
Is your feature request related to a problem? Please describe.
The new OCI-mode support pulling OCI containers to an OCI-SIF, and running them. It is not possible to build a container from a Dockerfile nor a definition file into OCI-SIF.
Describe the solution you'd like
Given that OCI-mode concentrates on OCI compatibility, where a Dockerfile is used to build containers, it would make sense for SingularityCE to support build --oci
from a Dockerfile into an OCI-SIF.
This could likely be implemented using buildkit.
Additional context
This issue does not tackle building from a Dockerfile to a traditional Singularity SIF image. It is only concerned with building to an OCI-SIF.