build
Build a Dockerfile.
@container build {
dockerfile: "Containerfile"
platforms: [ "linux/amd64" ]
image: "ghcr.io/example/project"
arguments: { configuration: "Release" }
tool: "podman"
}
Argument Reference
The following arguments are supported:
dockerfile
- (Optional) Use alternative Containerfile. Default is Dockerfile.platforms
- (Optional) List of platform to build. Default is host.image
- (Required) Docker image to build.arguments
- (Optional) Named arguments to build image (see Dockerfile ARG).tool
- (Optional) Build tool to use: docker (default) or podman
Last updated on