This repository has been archived on 2024-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
stagex/Makefile

44 lines
1.2 KiB
Makefile
Raw Normal View History

export SOURCE_DATE_EPOCH = 0
2023-11-09 10:13:20 +00:00
out/bootstrap.oci.tgz:
docker build -t ocirep/bootstrap --output type=oci,dest=$@ packages/bootstrap
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: \
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 \
out/musl.oci.tgz
docker build -t ocirep/musl --output type=oci,dest=$@ packages/musl
out/linux-headers.oci.tgz: \
docker build -t ocirep/linux-headers --output type=oci,dest=$@ packages/linux-heades
out/gcc.oci.tgz: \
2023-11-13 22:48:49 +00:00
out/bootstrap.oci.tgz \
out/musl.oci.tgz
docker build -t ocirep/gcc --output type=oci,dest=$@ packages/gcc
2023-11-09 10:13:20 +00:00
out/bash.oci.tgz: \
out/gcc.oci.tgz
docker build -t ocirep/bash --output type=oci,dest=$@ packages/bash
out/go.oci.tgz: \
out/gcc.oci.tgz \
out/binutils.oci.tgz \
out/busybox.oci.tgz \
out/bash.oci.tgz \
out/musl.oci.tgz
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