Compare commits

..

No commits in common. "30106d26b89acf768e7fc14611bea75642a20835" and "0b89c0ef110c826ada233698062d928b9af93725" have entirely different histories.

3 changed files with 2 additions and 18 deletions

View File

@ -1,17 +1,9 @@
export PLATFORM := linux/amd64 export PLATFORM := linux/amd64
export BUILDER := $(shell which docker) export BUILDER := $(shell which docker)
export REGISTRY := stagex export REGISTRY := stagex
export NOCACHE ?= 0
export MIRRORS := \ export MIRRORS := \
git.distrust.co \ https://git.distrust.co/stagex \
hub.docker.com stagex
ifeq ($(NOCACHE), 1)
NOCACHE_FLAG=--no-cache
else
NOCACHE_FLAG=
endif
export NOCACHE_FLAG
clean_logs := $(shell rm *.log 2>&1 >/dev/null || :) clean_logs := $(shell rm *.log 2>&1 >/dev/null || :)

View File

@ -22,13 +22,6 @@ FROM fetch as build
RUN tar -xf perl-${SRC_VERSION}.tar.xz RUN tar -xf perl-${SRC_VERSION}.tar.xz
WORKDIR perl-${SRC_VERSION} WORKDIR perl-${SRC_VERSION}
RUN set -eux; \ RUN set -eux; \
printf "\
osvers=\"gnulinux\"\n\
myuname=\"dummy_uname\"\n\
myhostname=\"builder\"\n\
cf_by=\"builder\"\n\
cf_time=\"0\"" \
> config.over; \
./Configure \ ./Configure \
-des \ -des \
-Dcccdlflags='-fPIC' \ -Dcccdlflags='-fPIC' \

View File

@ -42,7 +42,6 @@ define build
--output type=oci,force-compression=true,name=$(NAME),annotation.org.opencontainers.image.revision=$(REVISION),annotation.org.opencontainers.image.version=$(VERSION),dest=- \ --output type=oci,force-compression=true,name=$(NAME),annotation.org.opencontainers.image.revision=$(REVISION),annotation.org.opencontainers.image.version=$(VERSION),dest=- \
--target $(TARGET) \ --target $(TARGET) \
$(EXTRA_ARGS) \ $(EXTRA_ARGS) \
$(NOCACHE_FLAG) \
src/$(CATEGORY)/$(NAME) \ src/$(CATEGORY)/$(NAME) \
| gzip > $@; \ | gzip > $@; \
gunzip -c $@ | docker load; \ gunzip -c $@ | docker load; \