enclaveos/Makefile

25 lines
388 B
Makefile
Raw Normal View History

2024-02-17 16:42:39 +00:00
REGISTRY := local
.DEFAULT_GOAL :=
.PHONY: default
2024-02-17 16:42:39 +00:00
default: out/enclaveos.tar
2022-07-29 20:32:04 +00:00
2024-02-17 16:42:39 +00:00
out:
mkdir out
2022-07-29 20:32:04 +00:00
2024-02-17 16:42:39 +00:00
out/enclaveos.tar: out \
$(shell git ls-files \
src/init \
src/aws \
)
docker build \
2024-02-17 16:42:39 +00:00
--tag $(REGISTRY)/enclaveos \
--progress=plain \
--output "\
type=oci,\
rewrite-timestamp=true,\
force-compression=true,\
name=enclaveos,\
dest=$@" \
-f Containerfile \
src/