2023-11-09 13:41:25 +00:00
|
|
|
export SOURCE_DATE_EPOCH = 0
|
2023-11-09 10:13:20 +00:00
|
|
|
|
2023-11-09 13:41:25 +00:00
|
|
|
out/bootstrap.oci.tgz:
|
|
|
|
docker build -t ocirep/bootstrap --output type=oci,dest=$@ packages/bootstrap
|
2023-11-09 12:14:02 +00:00
|
|
|
|
2023-11-13 06:09:30 +00:00
|
|
|
out/musl.oci.tgz: \
|
2023-11-13 22:48:49 +00:00
|
|
|
out/bootstrap.oci.tgz
|
|
|
|
docker build -t ocirep/musl --output type=oci,dest=$@ packages/musl
|
|
|
|
|
|
|
|
out/busybox.oci.tgz: \
|
2023-11-14 04:56:30 +00:00
|
|
|
out/bootstrap.oci.tgz
|
2023-11-13 22:48:49 +00:00
|
|
|
docker build -t ocirep/busybox --output type=oci,dest=$@ packages/busybox
|
|
|
|
|
|
|
|
out/binutils.oci.tgz: \
|
|
|
|
out/bootstrap.oci.tgz \
|
2023-11-13 06:09:30 +00:00
|
|
|
out/musl.oci.tgz
|
|
|
|
docker build -t ocirep/musl --output type=oci,dest=$@ packages/musl
|
|
|
|
|
2023-11-14 04:56:30 +00:00
|
|
|
out/linux-headers.oci.tgz: \
|
|
|
|
docker build -t ocirep/linux-headers --output type=oci,dest=$@ packages/linux-heades
|
|
|
|
|
2023-11-09 13:41:25 +00:00
|
|
|
out/gcc.oci.tgz: \
|
2023-11-13 22:48:49 +00:00
|
|
|
out/bootstrap.oci.tgz \
|
|
|
|
out/musl.oci.tgz
|
2023-11-09 13:41:25 +00:00
|
|
|
docker build -t ocirep/gcc --output type=oci,dest=$@ packages/gcc
|
2023-11-09 10:13:20 +00:00
|
|
|
|
2023-11-09 13:41:25 +00:00
|
|
|
out/bash.oci.tgz: \
|
2023-11-14 04:56:30 +00:00
|
|
|
out/gcc.oci.tgz
|
2023-11-09 13:41:25 +00:00
|
|
|
docker build -t ocirep/bash --output type=oci,dest=$@ packages/bash
|
|
|
|
|
|
|
|
out/go.oci.tgz: \
|
|
|
|
out/gcc.oci.tgz \
|
2023-11-14 04:56:30 +00:00
|
|
|
out/binutils.oci.tgz \
|
2023-11-09 13:41:25 +00:00
|
|
|
out/busybox.oci.tgz \
|
2023-11-14 04:56:30 +00:00
|
|
|
out/bash.oci.tgz \
|
|
|
|
out/musl.oci.tgz
|
2023-11-09 13:41:25 +00:00
|
|
|
docker build -t ocirep/go --output type=oci,dest=$@ packages/go
|
2023-11-15 00:30:48 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
docker build -t ocirep/go_hello examples/go_hello
|
|
|
|
@printf "\nOcirep Test Suite\n"
|
|
|
|
@printf "go_hello -> "
|
|
|
|
@docker run -i ocirep/go_hello | grep Success
|