ocirep -> imgrep rename
This commit is contained in:
parent
df4d1e807f
commit
8065a6e78e
38
Makefile
38
Makefile
|
@ -1,44 +1,44 @@
|
|||
export SOURCE_DATE_EPOCH = 0
|
||||
|
||||
out/bootstrap.oci.tgz:
|
||||
docker build -t ocirep/bootstrap --output type=oci,dest=$@ packages/bootstrap
|
||||
docker build -t imgrep/bootstrap --output type=oci,dest=$@ packages/bootstrap
|
||||
|
||||
out/musl.oci.tgz: \
|
||||
out/bootstrap.oci.tgz
|
||||
docker build -t ocirep/musl --output type=oci,dest=$@ packages/musl
|
||||
docker build -t imgrep/musl --output type=oci,dest=$@ packages/musl
|
||||
|
||||
out/busybox.oci.tgz: \
|
||||
out/bootstrap.oci.tgz
|
||||
docker build -t ocirep/busybox --output type=oci,dest=$@ packages/busybox
|
||||
docker build -t imgrep/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
|
||||
docker build -t imgrep/binutils --output type=oci,dest=$@ packages/binutils
|
||||
|
||||
out/linux-headers.oci.tgz: \
|
||||
docker build -t ocirep/linux-headers --output type=oci,dest=$@ packages/linux-heades
|
||||
out/linux-headers.oci.tgz:
|
||||
docker build -t imgrep/linux-headers --output type=oci,dest=$@ packages/linux-headers
|
||||
|
||||
out/gcc.oci.tgz: \
|
||||
out/bootstrap.oci.tgz \
|
||||
out/musl.oci.tgz
|
||||
docker build -t ocirep/gcc --output type=oci,dest=$@ packages/gcc
|
||||
docker build -t imgrep/gcc --output type=oci,dest=$@ packages/gcc
|
||||
|
||||
out/make.oci.tgz: \
|
||||
out/bootstrap.oci.tgz \
|
||||
out/musl.oci.tgz
|
||||
docker build -t ocirep/make --output type=oci,dest=$@ packages/make
|
||||
docker build -t imgrep/make --output type=oci,dest=$@ packages/make
|
||||
|
||||
out/bash.oci.tgz: \
|
||||
out/gcc.oci.tgz
|
||||
docker build -t ocirep/bash --output type=oci,dest=$@ packages/bash
|
||||
docker build -t imgrep/bash --output type=oci,dest=$@ packages/bash
|
||||
|
||||
out/openssl.oci.tgz: \
|
||||
out/gcc.oci.tgz \
|
||||
out/binutils.oci.tgz \
|
||||
out/busybox.oci.tgz \
|
||||
out/musl.oci.tgz
|
||||
docker build -t ocirep/openssl --output type=oci,dest=$@ packages/openssl
|
||||
docker build -t imgrep/openssl --output type=oci,dest=$@ packages/openssl
|
||||
|
||||
out/go.oci.tgz: \
|
||||
out/gcc.oci.tgz \
|
||||
|
@ -46,14 +46,14 @@ out/go.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
|
||||
docker build -t imgrep/go --output type=oci,dest=$@ packages/go
|
||||
|
||||
out/perl.oci.tgz: \
|
||||
out/gcc.oci.tgz \
|
||||
out/binutils.oci.tgz \
|
||||
out/busybox.oci.tgz \
|
||||
out/musl.oci.tgz
|
||||
docker build -t ocirep/perl --output type=oci,dest=$@ packages/perl
|
||||
docker build -t imgrep/perl --output type=oci,dest=$@ packages/perl
|
||||
|
||||
out/python.oci.tgz: \
|
||||
out/gcc.oci.tgz \
|
||||
|
@ -63,16 +63,16 @@ out/python.oci.tgz: \
|
|||
out/openssl.oci.tgz \
|
||||
out/make.oci.tgz \
|
||||
out/musl.oci.tgz
|
||||
docker build -t ocirep/python --output type=oci,dest=$@ packages/python
|
||||
docker build -t imgrep/python --output type=oci,dest=$@ packages/python
|
||||
|
||||
test:
|
||||
docker build -t ocirep/test-c tests/c
|
||||
docker build -t ocirep/test-go tests/go
|
||||
docker build -t ocirep/test-perl tests/perl
|
||||
docker build -t imgrep/test-c tests/c
|
||||
docker build -t imgrep/test-go tests/go
|
||||
docker build -t imgrep/test-perl tests/perl
|
||||
@printf "\nOcirep Test Suite\n"
|
||||
@printf "go -> "
|
||||
@docker run -i ocirep/test-go | grep Success
|
||||
@docker run -i imgrep/test-go | grep Success
|
||||
@printf "c -> "
|
||||
@docker run -i ocirep/test-c | grep Success
|
||||
@docker run -i imgrep/test-c | grep Success
|
||||
@printf "perl -> "
|
||||
@docker run -i ocirep/test-perl | grep Success
|
||||
@docker run -i imgrep/test-perl | grep Success
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
FROM ocirep/musl:latest as musl
|
||||
FROM ocirep/bootstrap:latest as build
|
||||
FROM imgrep/musl:latest as musl
|
||||
FROM imgrep/bootstrap:latest as build
|
||||
|
||||
ENV SRC_SITE https://ftp.gnu.org/gnu/binutils
|
||||
ENV SRC_VERSION 2.41
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM ocirep/bootstrap as bootstrap
|
||||
FROM imgrep/bootstrap as bootstrap
|
||||
|
||||
FROM bootstrap as build
|
||||
ENV SOURCE_SITE=https://busybox.net/downloads
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
FROM ocirep/musl:latest as musl
|
||||
FROM ocirep/bootstrap:latest as build
|
||||
FROM imgrep/musl:latest as musl
|
||||
FROM imgrep/bootstrap:latest as build
|
||||
|
||||
ENV GCC_SITE https://mirrors.kernel.org/gnu/gcc
|
||||
ENV GCC_VERSION 13.2.0
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
FROM ocirep/busybox:latest as busybox
|
||||
FROM ocirep/bash:latest as bash
|
||||
FROM ocirep/gcc:latest as gcc
|
||||
FROM ocirep/binutils:latest as binutils
|
||||
FROM ocirep/musl:latest as musl
|
||||
ARG REGISTRY = imgrep/
|
||||
ARG BUSYBOX_VERSION = latest
|
||||
FROM ${REGISTRY}busybox:${BUSYBOX_VERSION} as busybox
|
||||
|
||||
FROM imgrep/bash:latest as bash
|
||||
FROM imgrep/gcc:latest as gcc
|
||||
FROM imgrep/binutils:latest as binutils
|
||||
FROM imgrep/musl:latest as musl
|
||||
|
||||
FROM busybox as stage1
|
||||
COPY --from=bash . /bin/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
FROM ocirep/musl:latest as musl
|
||||
FROM ocirep/bootstrap:latest as build
|
||||
FROM imgrep/musl:latest as musl
|
||||
FROM imgrep/bootstrap:latest as build
|
||||
|
||||
ENV SRC_SITE https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/
|
||||
ENV SRC_VERSION 6.6
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
FROM ocirep/musl:latest as musl
|
||||
FROM ocirep/bootstrap:latest as build
|
||||
FROM imgrep/musl:latest as musl
|
||||
FROM imgrep/bootstrap:latest as build
|
||||
|
||||
ENV SRC_SITE https://ftp.gnu.org/gnu/make
|
||||
ENV SRC_VERSION 4.4
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM ocirep/bootstrap:latest as build
|
||||
FROM imgrep/bootstrap:latest as build
|
||||
|
||||
ENV SRC_SITE http://musl.libc.org
|
||||
ENV SRC_VERSION 1.2.4
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
FROM ocirep/busybox:latest as busybox
|
||||
FROM ocirep/gcc:latest as gcc
|
||||
FROM ocirep/binutils:latest as binutils
|
||||
FROM ocirep/musl:latest as musl
|
||||
FROM ocirep/make:latest as make
|
||||
FROM ocirep/perl:latest as perl
|
||||
FROM ocirep/linux-headers:latest as linux-headers
|
||||
FROM imgrep/busybox:latest as busybox
|
||||
FROM imgrep/gcc:latest as gcc
|
||||
FROM imgrep/binutils:latest as binutils
|
||||
FROM imgrep/musl:latest as musl
|
||||
FROM imgrep/make:latest as make
|
||||
FROM imgrep/perl:latest as perl
|
||||
FROM imgrep/linux-headers:latest as linux-headers
|
||||
|
||||
FROM busybox as build
|
||||
COPY --from=gcc . /
|
||||
|
@ -21,15 +21,14 @@ RUN echo "${SRC_HASH} openssl-${SRC_VERSION}.tar.gz" | sha256sum -c
|
|||
RUN tar -xf openssl-${SRC_VERSION}.tar.gz
|
||||
WORKDIR openssl-${SRC_VERSION}
|
||||
RUN set -eux; \
|
||||
export CC='gcc -fPIE -pie -static'; \
|
||||
export CC='gcc -fPIE -pie'; \
|
||||
perl ./Configure \
|
||||
--prefix=/usr \
|
||||
--libdir=lib \
|
||||
--openssldir=/etc/ssl \
|
||||
--static \
|
||||
-static \
|
||||
threads \
|
||||
enable-ktls \
|
||||
no-shared \
|
||||
shared \
|
||||
no-zlib \
|
||||
no-async \
|
||||
no-comp \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
FROM ocirep/busybox:latest as busybox
|
||||
FROM ocirep/gcc:latest as gcc
|
||||
FROM ocirep/binutils:latest as binutils
|
||||
FROM ocirep/musl:latest as musl
|
||||
FROM ocirep/make:latest as make
|
||||
FROM imgrep/busybox:latest as busybox
|
||||
FROM imgrep/gcc:latest as gcc
|
||||
FROM imgrep/binutils:latest as binutils
|
||||
FROM imgrep/musl:latest as musl
|
||||
FROM imgrep/make:latest as make
|
||||
|
||||
FROM busybox as build
|
||||
ENV SRC_SITE=https://www.cpan.org/src/5.0
|
||||
|
|
Reference in New Issue