Compare commits
No commits in common. "30106d26b89acf768e7fc14611bea75642a20835" and "0b89c0ef110c826ada233698062d928b9af93725" have entirely different histories.
30106d26b8
...
0b89c0ef11
12
Makefile
12
Makefile
|
@ -1,17 +1,9 @@
|
|||
export PLATFORM := linux/amd64
|
||||
export BUILDER := $(shell which docker)
|
||||
export REGISTRY := stagex
|
||||
export NOCACHE ?= 0
|
||||
export MIRRORS := \
|
||||
git.distrust.co \
|
||||
hub.docker.com
|
||||
|
||||
ifeq ($(NOCACHE), 1)
|
||||
NOCACHE_FLAG=--no-cache
|
||||
else
|
||||
NOCACHE_FLAG=
|
||||
endif
|
||||
export NOCACHE_FLAG
|
||||
https://git.distrust.co/stagex \
|
||||
stagex
|
||||
|
||||
clean_logs := $(shell rm *.log 2>&1 >/dev/null || :)
|
||||
|
||||
|
|
|
@ -22,13 +22,6 @@ FROM fetch as build
|
|||
RUN tar -xf perl-${SRC_VERSION}.tar.xz
|
||||
WORKDIR perl-${SRC_VERSION}
|
||||
RUN set -eux; \
|
||||
printf "\
|
||||
osvers=\"gnulinux\"\n\
|
||||
myuname=\"dummy_uname\"\n\
|
||||
myhostname=\"builder\"\n\
|
||||
cf_by=\"builder\"\n\
|
||||
cf_time=\"0\"" \
|
||||
> config.over; \
|
||||
./Configure \
|
||||
-des \
|
||||
-Dcccdlflags='-fPIC' \
|
||||
|
|
|
@ -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=- \
|
||||
--target $(TARGET) \
|
||||
$(EXTRA_ARGS) \
|
||||
$(NOCACHE_FLAG) \
|
||||
src/$(CATEGORY)/$(NAME) \
|
||||
| gzip > $@; \
|
||||
gunzip -c $@ | docker load; \
|
||||
|
|
Reference in New Issue