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:
|
2023-11-17 10:00:25 +00:00
|
|
|
docker build -t imgrep/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
|
2023-11-17 10:00:25 +00:00
|
|
|
docker build -t imgrep/musl --output type=oci,dest=$@ packages/musl
|
2023-11-13 22:48:49 +00:00
|
|
|
|
|
|
|
out/busybox.oci.tgz: \
|
2023-11-14 04:56:30 +00:00
|
|
|
out/bootstrap.oci.tgz
|
2023-11-17 10:00:25 +00:00
|
|
|
docker build -t imgrep/busybox --output type=oci,dest=$@ packages/busybox
|
2023-11-13 22:48:49 +00:00
|
|
|
|
|
|
|
out/binutils.oci.tgz: \
|
|
|
|
out/bootstrap.oci.tgz \
|
2023-11-13 06:09:30 +00:00
|
|
|
out/musl.oci.tgz
|
2023-11-17 10:00:25 +00:00
|
|
|
docker build -t imgrep/binutils --output type=oci,dest=$@ packages/binutils
|
2023-11-13 06:09:30 +00:00
|
|
|
|
2023-11-17 10:00:25 +00:00
|
|
|
out/linux-headers.oci.tgz:
|
|
|
|
docker build -t imgrep/linux-headers --output type=oci,dest=$@ packages/linux-headers
|
2023-11-14 04:56:30 +00:00
|
|
|
|
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-17 10:00:25 +00:00
|
|
|
docker build -t imgrep/gcc --output type=oci,dest=$@ packages/gcc
|
2023-11-09 10:13:20 +00:00
|
|
|
|
2023-11-16 10:01:19 +00:00
|
|
|
out/make.oci.tgz: \
|
|
|
|
out/bootstrap.oci.tgz \
|
|
|
|
out/musl.oci.tgz
|
2023-11-17 10:00:25 +00:00
|
|
|
docker build -t imgrep/make --output type=oci,dest=$@ packages/make
|
2023-11-16 10:01:19 +00:00
|
|
|
|
2023-11-19 07:38:16 +00:00
|
|
|
out/ca-certificates.oci.tgz:
|
|
|
|
docker build -t imgrep/ca-certificates --output type=oci,dest=$@ packages/ca-certificates
|
|
|
|
|
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-17 10:00:25 +00:00
|
|
|
docker build -t imgrep/bash --output type=oci,dest=$@ packages/bash
|
2023-11-09 13:41:25 +00:00
|
|
|
|
2023-12-05 04:34:07 +00:00
|
|
|
out/m4.oci.tgz: \
|
|
|
|
out/busybox.oci.tgz \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/musl.oci.tgz \
|
|
|
|
out/make.oci.tgz \
|
|
|
|
docker build -t imgrep/m4 --output type=oci,dest=$@ packages/m4
|
|
|
|
|
|
|
|
out/autoconf.oci.tgz: \
|
|
|
|
out/busybox.oci.tgz \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/musl.oci.tgz \
|
|
|
|
out/make.oci.tgz \
|
|
|
|
out/perl.oci.tgz \
|
|
|
|
out/m4.oci.tgz
|
|
|
|
docker build -t imgrep/autoconf --output type=oci,dest=$@ packages/autoconf
|
|
|
|
|
|
|
|
out/automake.oci.tgz: \
|
|
|
|
out/busybox.oci.tgz \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/musl.oci.tgz \
|
|
|
|
out/make.oci.tgz \
|
|
|
|
out/perl.oci.tgz \
|
|
|
|
out/autoconf.oci.tgz \
|
|
|
|
out/m4.oci.tgz
|
|
|
|
docker build -t imgrep/automake --output type=oci,dest=$@ packages/automake
|
|
|
|
|
2023-11-16 10:01:19 +00:00
|
|
|
out/openssl.oci.tgz: \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/busybox.oci.tgz \
|
2023-11-21 23:57:26 +00:00
|
|
|
out/linux-headers.oci.tgz \
|
2023-11-16 10:01:19 +00:00
|
|
|
out/musl.oci.tgz
|
2023-11-17 10:00:25 +00:00
|
|
|
docker build -t imgrep/openssl --output type=oci,dest=$@ packages/openssl
|
2023-11-16 10:01:19 +00:00
|
|
|
|
2023-11-09 13:41:25 +00:00
|
|
|
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-17 10:00:25 +00:00
|
|
|
docker build -t imgrep/go --output type=oci,dest=$@ packages/go
|
2023-11-15 00:30:48 +00:00
|
|
|
|
2023-11-16 10:01:19 +00:00
|
|
|
out/perl.oci.tgz: \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/busybox.oci.tgz \
|
2023-11-21 23:57:26 +00:00
|
|
|
out/make.oci.tgz \
|
2023-11-16 10:01:19 +00:00
|
|
|
out/musl.oci.tgz
|
2023-11-17 10:00:25 +00:00
|
|
|
docker build -t imgrep/perl --output type=oci,dest=$@ packages/perl
|
2023-11-16 10:01:19 +00:00
|
|
|
|
2023-11-19 07:38:16 +00:00
|
|
|
out/curl.oci.tgz: \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/musl.oci.tgz \
|
|
|
|
out/busybox.oci.tgz \
|
|
|
|
out/make.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/openssl.oci.tgz \
|
|
|
|
out/ca-certificates.oci.tgz
|
|
|
|
docker build -t imgrep/curl --output type=oci,dest=$@ packages/curl
|
|
|
|
|
2023-11-16 10:01:19 +00:00
|
|
|
out/python.oci.tgz: \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/perl.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/busybox.oci.tgz \
|
|
|
|
out/openssl.oci.tgz \
|
|
|
|
out/make.oci.tgz \
|
|
|
|
out/musl.oci.tgz
|
2023-11-17 10:00:25 +00:00
|
|
|
docker build -t imgrep/python --output type=oci,dest=$@ packages/python
|
2023-11-16 10:01:19 +00:00
|
|
|
|
2023-11-21 23:57:26 +00:00
|
|
|
out/ninja.oci.tgz: \
|
|
|
|
out/busybox.oci.tgz \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/musl.oci.tgz \
|
|
|
|
out/make.oci.tgz \
|
|
|
|
out/openssl.oci.tgz \
|
|
|
|
out/python.oci.tgz
|
|
|
|
docker build -t imgrep/ninja --output type=oci,dest=$@ packages/ninja
|
|
|
|
|
|
|
|
out/cmake.oci.tgz: \
|
|
|
|
out/busybox.oci.tgz \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/ninja.oci.tgz \
|
|
|
|
out/musl.oci.tgz \
|
|
|
|
out/make.oci.tgz \
|
|
|
|
out/linux-headers.oci.tgz
|
|
|
|
docker build -t imgrep/cmake --output type=oci,dest=$@ packages/cmake
|
|
|
|
|
|
|
|
out/py-setuptools.oci.tgz: \
|
|
|
|
out/busybox.oci.tgz \
|
|
|
|
out/python.oci.tgz
|
|
|
|
docker build -t imgrep/py-setuptools --output type=oci,dest=$@ packages/py-setuptools
|
|
|
|
|
2023-12-02 18:37:45 +00:00
|
|
|
out/zlib.oci.tgz: \
|
|
|
|
out/busybox.oci.tgz \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/musl.oci.tgz \
|
|
|
|
out/make.oci.tgz
|
|
|
|
docker build -t imgrep/zlib --output type=oci,dest=$@ packages/zlib
|
|
|
|
|
2023-11-21 23:57:26 +00:00
|
|
|
out/llvm.oci.tgz: \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/python.oci.tgz \
|
|
|
|
out/py-setuptools.oci.tgz \
|
|
|
|
out/perl.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/cmake.oci.tgz \
|
|
|
|
out/ninja.oci.tgz \
|
|
|
|
out/busybox.oci.tgz \
|
|
|
|
out/musl.oci.tgz
|
|
|
|
docker build -t imgrep/llvm --output type=oci,dest=$@ packages/llvm
|
|
|
|
|
2023-12-04 02:08:26 +00:00
|
|
|
out/llvm13.oci.tgz: \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/python.oci.tgz \
|
|
|
|
out/py-setuptools.oci.tgz \
|
|
|
|
out/perl.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/cmake.oci.tgz \
|
|
|
|
out/ninja.oci.tgz \
|
|
|
|
out/busybox.oci.tgz \
|
|
|
|
out/musl.oci.tgz
|
|
|
|
docker build -t imgrep/llvm13 --output type=oci,dest=$@ packages/llvm13
|
|
|
|
|
2023-12-02 18:37:45 +00:00
|
|
|
out/rust.oci.tgz: \
|
|
|
|
out/gcc.oci.tgz \
|
|
|
|
out/bash.oci.tgz \
|
|
|
|
out/zlib.oci.tgz \
|
|
|
|
out/python.oci.tgz \
|
|
|
|
out/binutils.oci.tgz \
|
|
|
|
out/cmake.oci.tgz \
|
|
|
|
out/make.oci.tgz \
|
|
|
|
out/busybox.oci.tgz \
|
|
|
|
out/musl.oci.tgz
|
|
|
|
docker build -t imgrep/rust --output type=oci,dest=$@ packages/rust
|
|
|
|
|
2023-11-15 00:30:48 +00:00
|
|
|
test:
|
2023-11-17 10:00:25 +00:00
|
|
|
docker build -t imgrep/test-c tests/c
|
|
|
|
docker build -t imgrep/test-go tests/go
|
|
|
|
docker build -t imgrep/test-perl tests/perl
|
2023-11-15 00:30:48 +00:00
|
|
|
@printf "\nOcirep Test Suite\n"
|
2023-11-16 10:01:19 +00:00
|
|
|
@printf "go -> "
|
2023-11-17 10:00:25 +00:00
|
|
|
@docker run -i imgrep/test-go | grep Success
|
2023-11-16 10:01:19 +00:00
|
|
|
@printf "c -> "
|
2023-11-17 10:00:25 +00:00
|
|
|
@docker run -i imgrep/test-c | grep Success
|
2023-11-16 10:01:19 +00:00
|
|
|
@printf "perl -> "
|
2023-11-17 10:00:25 +00:00
|
|
|
@docker run -i imgrep/test-perl | grep Success
|