Skip to content

Build from Dockerfile to OCI-SIF (build --oci) #2218

Closed
@dtrudg

Description

@dtrudg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestroadmapFeatures / changes that are scheduled to be implemented

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions