2024-02-17 16:42:39 +00:00
|
|
|
REGISTRY := local
|
|
|
|
.DEFAULT_GOAL :=
|
2022-07-09 07:52:32 +00:00
|
|
|
.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 \
|
|
|
|
)
|
2022-09-01 21:16:48 +00:00
|
|
|
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/
|