19 lines
444 B
Makefile
19 lines
444 B
Makefile
image := "rosenvold-core"
|
|
tag := "latest"
|
|
fcos_stable := "quay.io/fedora/fedora-coreos:stable"
|
|
|
|
# List available recipes
|
|
default:
|
|
@just --list
|
|
|
|
# Build the bootc container image
|
|
build:
|
|
docker build -t {{image}}:{{tag}} -f Containerfile .
|
|
|
|
# Build and validate the image with bootc container lint
|
|
test: build
|
|
docker run --rm {{image}}:{{tag}} bootc container lint
|
|
|
|
# Remove the built image
|
|
clean:
|
|
docker rmi -f {{image}}:{{tag}}
|