Ensure that all WORKDIRs are absolute

This commit is contained in:
Danny Grove 2024-08-25 18:18:52 -07:00
parent b964dbced5
commit 9fcd530d77
No known key found for this signature in database
GPG key ID: E1F4160251DB4C2E
247 changed files with 269 additions and 269 deletions

View file

@ -20,7 +20,7 @@ COPY --from=stagex/gcc . /
COPY --from=stagex/zlib . /
RUN tar -xf ${SRC_FILE}
WORKDIR abseil-cpp-${VERSION}
WORKDIR /abseil-cpp-${VERSION}
RUN <<-EOF
set -eux
cmake \

View file

@ -16,7 +16,7 @@ COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
COPY --from=stagex/attr . /
RUN tar -xf ${SRC_FILE}
WORKDIR acl-${VERSION}
WORKDIR /acl-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -15,7 +15,7 @@ COPY --from=stagex/linux-headers . /
COPY --from=stagex/make . /
COPY --from=stagex/musl . /
RUN tar -xf ${SRC_FILE}
WORKDIR alsa-lib-${VERSION}
WORKDIR /alsa-lib-${VERSION}
RUN --network=none <<-EOF
set -eux; \
./configure \

View file

@ -25,7 +25,7 @@ COPY --from=stagex/libtool . /
COPY --from=stagex/util-linux . /
RUN tar -xf ${SRC_FILE}
WORKDIR apr-util-${VERSION}
WORKDIR /apr-util-${VERSION}
COPY *.patch .
RUN --network=none <<-EOF
set -eux

View file

@ -16,7 +16,7 @@ COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
COPY --from=stagex/util-linux . /
RUN tar -xf ${SRC_FILE}
WORKDIR apr-${VERSION}
WORKDIR /apr-${VERSION}
COPY *.patch .
RUN --network=none <<-EOF
set -eux \

View file

@ -15,7 +15,7 @@ COPY --from=stagex/gcc . /
COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
RUN tar -xf $SRC_FILE
WORKDIR phc-winner-argon2-${VERSION}
WORKDIR /phc-winner-argon2-${VERSION}
RUN --network=none <<-EOF
set -eux
make -j "$(nproc)" OPTTARGET=none ARGON2_VERSION=${VERSION}

View file

@ -18,7 +18,7 @@ COPY --from=stagex/autoconf . /
COPY --from=stagex/automake . /
COPY --from=stagex/m4 . /
RUN tar -xf ${SRC_FILE}
WORKDIR argp-standalone-${VERSION}
WORKDIR /argp-standalone-${VERSION}
RUN --network=none <<-EOF
set -eux
/usr/bin/autoreconf -vif

View file

@ -16,7 +16,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf ${SRC_FILE}
WORKDIR aspell-${VERSION}
WORKDIR /aspell-${VERSION}
ENV SOURCE_DATE_EPOCH=1
RUN --network=none <<-EOF
set -ex

View file

@ -17,7 +17,7 @@ COPY --from=stagex/make . /
COPY --from=stagex/perl . /
RUN tar -xf ${SRC_FILE}
WORKDIR attr-${VERSION}
WORKDIR /attr-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -14,7 +14,7 @@ COPY --from=stagex/busybox . /
COPY --from=stagex/make . /
COPY --from=stagex/musl . /
RUN tar -xf ${SRC_FILE}
WORKDIR autoconf-archive-${VERSION}
WORKDIR /autoconf-archive-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -16,7 +16,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/m4 . /
COPY --from=stagex/perl . /
RUN tar -xf ${SRC_FILE}
WORKDIR autoconf-${VERSION}
WORKDIR /autoconf-${VERSION}
ENV M4=/usr/bin/m4
RUN --network=none <<-EOF
set -eux

View file

@ -17,7 +17,7 @@ COPY --from=stagex/perl . /
COPY --from=stagex/m4 . /
COPY --from=stagex/autoconf . /
RUN tar -xf automake-${VERSION}.tar.xz
WORKDIR automake-${VERSION}
WORKDIR /automake-${VERSION}
ENV SOURCE_DATE_EPOCH=1
RUN --network=none <<-EOF
set -eux

View file

@ -36,7 +36,7 @@ COPY --from=stagex/py-wcwidth . /
COPY --from=stagex/py-prompt_toolkit . /
COPY --from=stagex/py-ruamel.yaml . /
RUN tar -xzf ${SRC_FILE}
WORKDIR aws-cli-${VERSION}
WORKDIR /aws-cli-${VERSION}
RUN --network=none \
gpep517 build-wheel \
--wheel-dir .dist \

View file

@ -14,7 +14,7 @@ COPY --from=stagex/gcc . /
COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
RUN tar -xzf ${SRC_FILE}
WORKDIR bash-${VERSION}
WORKDIR /bash-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -29,7 +29,7 @@ COPY --from=stagex/texinfo . /
COPY --from=stagex/findutils . /
COPY --from=stagex/sed . /
RUN tar -xf ${SRC_FILE}
WORKDIR bc-${VERSION}
WORKDIR /bc-${VERSION}
RUN --network=none <<-EOF
set -ex
./configure \

View file

@ -11,7 +11,7 @@ ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
FROM fetch AS build
COPY --from=stagex/stage3 . /
RUN tar -xf binutils-${VERSION}.tar.xz
WORKDIR binutils-${VERSION}
WORKDIR /binutils-${VERSION}
RUN --network=none <<-EOF
set -ex
CFLAGS='-Os -Wformat -Werror=format-security -O2' \

View file

@ -18,7 +18,7 @@ COPY --from=stagex/automake . /
COPY --from=stagex/make . /
COPY --from=stagex/m4 . /
RUN tar -xf ${SRC_FILE}
WORKDIR bison-${VERSION}
WORKDIR /bison-${VERSION}
ENV M4=/usr/bin/m4
RUN --network=none <<-EOF
set -eux

View file

@ -18,7 +18,7 @@ COPY --from=stagex/samurai . /
COPY --from=stagex/cmake . /
COPY --from=stagex/openssl . /
RUN tar -xf ${SRC_FILE}
WORKDIR brotli-${VERSION}
WORKDIR /brotli-${VERSION}
RUN --network=none <<-EOF
set -eux
cmake -B build -G Ninja \

View file

@ -12,7 +12,7 @@ COPY --from=stagex/busybox . /
COPY --from=stagex/go . /
COPY --from=stagex/ca-certificates . /
RUN tar -xvf v${VERSION}.tar.gz
WORKDIR buf-${VERSION}
WORKDIR /buf-${VERSION}
ENV PWD=/home/user/buf-${VERSION}
ENV GOPATH=${PWD}/cache/go
ENV GOCACHE=${PWD}/cache/

View file

@ -10,7 +10,7 @@ ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
FROM fetch AS build
COPY --from=stagex/stage3 . /
RUN tar -xjf ${SRC_FILE}
WORKDIR busybox-${VERSION}
WORKDIR /busybox-${VERSION}
ENV KCONFIG_NOTIMESTAMP=1
RUN --network=none <<-EOF
set -eux

View file

@ -15,7 +15,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf ${SRC_FILE}
WORKDIR bzip2-${VERSION}
WORKDIR /bzip2-${VERSION}
RUN --network=none <<-EOF
set -ex
make -j "$(nproc)" -f Makefile-libbz2_so all

View file

@ -23,7 +23,7 @@ COPY --from=stagex/gcc . /
COPY --from=stagex/openssl . /
COPY --from=stagex/perl . /
RUN tar -xf ca-certificates-${SRC_2_VERSION}.tar.gz
WORKDIR ca-certificates-${SRC_2_VERSION}
WORKDIR /ca-certificates-${SRC_2_VERSION}
ADD *.patch .
RUN --network=none <<-EOF
set -eux

View file

@ -21,7 +21,7 @@ COPY --from=stagex/pkgconf . /
COPY --from=stagex/libusb . /
COPY --from=stagex/zlib . /
RUN tar -xvf $SRC_FILE
WORKDIR ccid-${VERSION}
WORKDIR /ccid-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -26,7 +26,7 @@ COPY --from=stagex/libxml2 . /
COPY --from=stagex/samurai . /
RUN tar -xf ${SRC_FILE}
WORKDIR llvm-project-${VERSION}.src
WORKDIR /llvm-project-${VERSION}.src
RUN --network=none <<-EOF
set -eux
cmake \

View file

@ -22,7 +22,7 @@ COPY --from=stagex/llvm16 . /
COPY --from=stagex/zlib . /
RUN tar -xf ${SRC_FILE}
WORKDIR llvm-project-${VERSION}.src
WORKDIR /llvm-project-${VERSION}.src
RUN --network=none <<-EOF
set -eux
cmake \

View file

@ -18,7 +18,7 @@ COPY --from=stagex/gcc . /
COPY --from=stagex/zlib . /
COPY --from=stagex/openssl . /
RUN tar -xf ${SRC_FILE}
WORKDIR cmake-${VERSION}
WORKDIR /cmake-${VERSION}
RUN --network=none <<-EOF
set -eux
./bootstrap \

View file

@ -16,7 +16,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf coreutils-${VERSION}.tar.xz
WORKDIR coreutils-${VERSION}
WORKDIR /coreutils-${VERSION}
ENV FORCE_UNSAFE_CONFIGURE=1
RUN --network=none <<-EOF
set -ex

View file

@ -14,7 +14,7 @@ COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
COPY --from=stagex/musl . /
RUN tar -xzf ${SRC_FILE}
WORKDIR cpio-${VERSION}
WORKDIR /cpio-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -18,7 +18,7 @@ COPY --from=stagex/openssl . /
COPY --from=stagex/perl . /
COPY --from=stagex/ca-certificates . /
RUN tar -xf curl-${VERSION}.tar.xz
WORKDIR curl-${VERSION}
WORKDIR /curl-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -28,7 +28,7 @@ COPY --from=stagex/py-dateutil . /
COPY --from=stagex/py-urllib3 . /
COPY --from=stagex/py-cffi . /
RUN tar -xzf ${SRC_FILE}
WORKDIR cython-${VERSION}
WORKDIR /cython-${VERSION}
RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
#
FROM build AS install

View file

@ -31,7 +31,7 @@ COPY --from=stagex/py-cffi . /
COPY --from=stagex/py-magic . /
COPY --from=stagex/py-libarchive . /
RUN tar -xzf diffoscope-${SRC_FILE}
WORKDIR diffoscope-${VERSION}
WORKDIR /diffoscope-${VERSION}
RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
#
FROM build AS install

View file

@ -15,7 +15,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf ${SRC_FILE}
WORKDIR diffutils-${VERSION}
WORKDIR /diffutils-${VERSION}
RUN --network=none <<-EOF
set -ex
./configure \

View file

@ -14,7 +14,7 @@ COPY --from=stagex/zlib . /
COPY --from=stagex/libxml2 . /
COPY --from=stagex/musl . /
RUN tar -xf ${SRC_FILE}
WORKDIR docbook-xsl-${VERSION}
WORKDIR /docbook-xsl-${VERSION}
RUN --network=none <<-EOF
set -eux
dest=out/usr/share/xml/docbook/xsl-stylesheets-${VERSION}

View file

@ -19,7 +19,7 @@ COPY --from=stagex/autoconf . /
COPY --from=stagex/automake . /
COPY --from=stagex/musl . /
RUN tar -xzf ${SRC_FILE}
WORKDIR dosfstools-${VERSION}
WORKDIR /dosfstools-${VERSION}
RUN --network=none <<-EOF
set -eux
./autogen.sh

View file

@ -27,7 +27,7 @@ COPY --from=stagex/perl . /
COPY --from=stagex/openssl . /
COPY --from=stagex/m4 . /
RUN tar -xf ${SRC_FILE}
WORKDIR doxygen-${VERSION}
WORKDIR /doxygen-${VERSION}
COPY *.patch .
RUN --network=none <<-EOF
set -eux \

View file

@ -26,7 +26,7 @@ COPY --from=stagex/coreutils . /
COPY --from=stagex/python . /
COPY --from=stagex/py-setuptools . /
RUN tar -xf ${SRC_FILE}
WORKDIR dtc-${VERSION}
WORKDIR /dtc-${VERSION}
RUN --network=none <<-EOF
set -eux
sed -i s:-Werror::g Makefile

View file

@ -19,7 +19,7 @@ COPY --from=stagex/util-linux . /
COPY --from=stagex/musl . /
COPY --from=stagex/gcc . /
RUN tar -xzf ${SRC_FILE}
WORKDIR e2fsprogs-${VERSION}
WORKDIR /e2fsprogs-${VERSION}
RUN --network=none <<-EOF
./configure \
--build=${ARCH}-linux-musl \

View file

@ -17,7 +17,7 @@ COPY --from=stagex/tar . /
COPY --from=stagex/lzip . /
COPY --from=stagex/gcc . /
RUN tar --lzip -xf ${SRC_FILE}
WORKDIR ed-${VERSION}
WORKDIR /ed-${VERSION}
RUN --network=none <<-EOF
set -ex
./configure \

View file

@ -20,7 +20,7 @@ COPY --from=stagex/git . /
COPY --from=stagex/rust . /
RUN tar -xzf ${SRC_FILE}
RUN mv tkhq-eif_build-* eif_build
WORKDIR eif_build
WORKDIR /eif_build
RUN cargo fetch --locked
FROM fetch AS build
@ -32,7 +32,7 @@ RUN --network=none \
--target x86_64-unknown-linux-musl
FROM build AS install
WORKDIR /rootfs/usr/bin
WORKDIR //rootfs/usr/bin
RUN cp /eif_build/target/x86_64-unknown-linux-musl/release/eif_build .
FROM stagex/filesystem AS package

View file

@ -29,7 +29,7 @@ COPY --from=stagex/musl-fts . /
COPY --from=stagex/musl-obstack . /
COPY --from=stagex/linux-headers . /
RUN tar -xjf ${SRC_FILE}
WORKDIR elfutils-${VERSION}
WORKDIR /elfutils-${VERSION}
ADD *.patch .
RUN --network=none <<-EOF
set -eux

View file

@ -17,7 +17,7 @@ COPY --from=stagex/gcc . /
COPY --from=stagex/gperf . /
RUN --network=none tar -xf ${SRC_FILE}
WORKDIR eudev-${VERSION}
WORKDIR /eudev-${VERSION}
RUN --network=none <<EOF
set -eux
./configure

View file

@ -16,7 +16,7 @@ COPY --from=stagex/gcc . /
COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
RUN tar -xf $SRC_FILE
WORKDIR expat-${VERSION}
WORKDIR /expat-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -20,7 +20,7 @@ COPY --from=stagex/libtool . /
COPY --from=stagex/m4 . /
COPY --from=stagex/gcc . /
RUN tar -xf ${SRC_FILE}
WORKDIR file-FILE5_45/
WORKDIR /file-FILE5_45/
RUN --network=none <<-EOF
set -eux
autoreconf -fvi

View file

@ -1,6 +1,6 @@
FROM scratch AS build
COPY --from=stagex/stage3 . /
WORKDIR rootfs
WORKDIR /rootfs
RUN <<-EOF
install -d -m0750 root
install -d -m0755 etc

View file

@ -15,7 +15,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf ${SRC_FILE}
WORKDIR findutils-${VERSION}
WORKDIR /findutils-${VERSION}
RUN --network=none <<-EOF
set -ex
./configure \

View file

@ -12,7 +12,7 @@ COPY --from=stagex/binutils . /
COPY --from=stagex/gcc . /
ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
RUN tar -xvf ${SRC_FILE}
WORKDIR flashtools-${VERSION}
WORKDIR /flashtools-${VERSION}
FROM fetch AS build
RUN --network=none make all

View file

@ -21,7 +21,7 @@ COPY --from=stagex/bison . /
COPY --from=stagex/gettext . /
COPY --from=stagex/musl . /
RUN tar -xzf ${SRC_FILE}
WORKDIR flex-${VERSION}
WORKDIR /flex-${VERSION}
RUN --network=none <<-EOF
set -eux
./autogen.sh

View file

@ -21,7 +21,7 @@ COPY --from=stagex/samurai . /
COPY --from=stagex/python . /
COPY --from=stagex/doxygen . /
RUN tar -xf ${SRC_FILE}
WORKDIR fmt-${VERSION}
WORKDIR /fmt-${VERSION}
COPY *.patch .
RUN --network=none <<-EOF
set -eux

View file

@ -21,7 +21,7 @@ COPY --from=stagex/unixodbc . /
COPY --from=stagex/openssl . /
COPY --from=stagex/perl . /
RUN tar -xf ${SRC_FILE}
WORKDIR freetds-${VERSION}
WORKDIR /freetds-${VERSION}
RUN --network=none <<-EOF
set -ex
./configure \

View file

@ -15,7 +15,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf ${SRC_FILE}
WORKDIR gawk-${VERSION}
WORKDIR /gawk-${VERSION}
RUN --network=none <<-EOF
set -ex
./configure \

View file

@ -23,7 +23,7 @@ ADD --checksum=sha256:${ISL_HASH} ${DEP_SITE}/${ISL_FILE} .
FROM fetch AS build
COPY --from=stagex/stage3 . /
RUN tar -xf ${SRC_FILE}
WORKDIR gcc-${VERSION}
WORKDIR /gcc-${VERSION}
RUN --network=none <<-EOF
set -eux
mv ../*.tar.* .

View file

@ -17,7 +17,7 @@ COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
COPY --from=stagex/openssl . /
RUN tar -xf ${SRC_FILE}
WORKDIR gdbm-${VERSION}
WORKDIR /gdbm-${VERSION}
ENV SOURCE_DATE_EPOCH=1
RUN --network=none <<-EOF
set -eux

View file

@ -13,7 +13,7 @@ COPY --from=stagex/gcc . /
COPY --from=stagex/binutils . /
COPY --from=stagex/musl . /
RUN tar -xf ${SRC_FILE}
WORKDIR linux-${VERSION}
WORKDIR /linux-${VERSION}
RUN --network=none gcc usr/gen_init_cpio.c -o usr/gen_init_cpio
FROM build AS install

View file

@ -15,7 +15,7 @@ COPY --from=stagex/libxml2 . /
COPY --from=stagex/make . /
COPY --from=stagex/musl . /
RUN tar -xf ${SRC_FILE}
WORKDIR gettext-${VERSION}
WORKDIR /gettext-${VERSION}
RUN <<-EOF
set -eux
./configure \

View file

@ -19,7 +19,7 @@ COPY --from=stagex/zlib . /
COPY --from=stagex/perl . /
COPY --from=stagex/gettext . /
RUN tar -xvf $SRC_FILE
WORKDIR git-${VERSION}
WORKDIR /git-${VERSION}
ENV SOURCE_DATE_EPOCH=1
RUN --network=none <<-EOF
set -eux

View file

@ -38,7 +38,7 @@ COPY --from=stagex/libxslt . /
COPY --from=stagex/gettext . /
COPY --from=stagex/ninja . /
RUN tar -xf ${SRC_FILE}
WORKDIR glib-${VERSION}
WORKDIR /glib-${VERSION}
COPY *.patch .
RUN --network=none <<-EOF
set -eux

View file

@ -20,7 +20,7 @@ COPY --from=stagex/m4 . /
COPY --from=stagex/gcc . /
RUN --network=none tar -xf ${SRC_FILE}
WORKDIR gmp-${VERSION}
WORKDIR /gmp-${VERSION}
RUN --network=none <<EOF
set -eux
./configure \

View file

@ -12,7 +12,7 @@ COPY --from=stagex/busybox . /
COPY --from=stagex/go . /
COPY --from=stagex/ca-certificates . /
RUN tar -xvf ${SRC_FILE}
WORKDIR go-md2man-${VERSION}
WORKDIR /go-md2man-${VERSION}
ENV PWD=/home/user/go-md2man-${VERSION}
ENV GOPATH=${PWD}/cache/go
ENV GOCACHE=${PWD}/cache/

View file

@ -39,7 +39,7 @@ RUN <<-EOF
tar -xzf go${VERSION}.src.tar.gz; \
mv go go-src
EOF
WORKDIR go-bootstrap-1-src
WORKDIR /go-bootstrap-1-src
ENV GOOS=linux
ENV CGO_ENABLED=0
ENV GOROOT_FINAL=/go-bootstrap-1
@ -54,7 +54,7 @@ RUN --network=none <<-EOF
mkdir -p ${DEST}
cp -R bin lib pkg src ${DEST}
EOF
WORKDIR ../go-bootstrap-2-src
WORKDIR /go-bootstrap-2-src
ENV GO11MODULE=off
ENV GOROOT_BOOTSTRAP=/go-bootstrap-1
ENV GOROOT_FINAL=/go-bootstrap-2
@ -69,7 +69,7 @@ RUN --network=none <<-EOF
mkdir -p ${DEST}
cp -R bin lib pkg src ${DEST}
EOF
WORKDIR ../go-bootstrap-3-src
WORKDIR /go-bootstrap-3-src
ENV GO11MODULE=off
ENV GOROOT_BOOTSTRAP=/go-bootstrap-2
ENV GOROOT_FINAL=/go-bootstrap-3
@ -84,7 +84,7 @@ RUN --network=none <<-EOF
mkdir -p ${DEST}
cp -R bin lib pkg src ${DEST}
EOF
WORKDIR ../go-src
WORKDIR /go-src
ENV GOPROXY=off
ENV GOTOOLCHAIN=local
ENV GOFLAGS=-mod=vendor

View file

@ -16,7 +16,7 @@ COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN --network=none tar -xf ${SRC_FILE}
WORKDIR gperf-${VERSION}
WORKDIR /gperf-${VERSION}
RUN --network=none <<EOF
set -eux
./configure

View file

@ -19,7 +19,7 @@ COPY --from=stagex/libgpg-error . /
COPY --from=stagex/libassuan . /
COPY --from=stagex/libgcrypt . /
RUN tar -xvf $SRC_FILE
WORKDIR gnupg-${VERSION}
WORKDIR /gnupg-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -15,7 +15,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf ${SRC_FILE}
WORKDIR grep-${VERSION}
WORKDIR /grep-${VERSION}
RUN --network=none <<-EOF
set -ex
./configure \

View file

@ -17,7 +17,7 @@ COPY --from=stagex/gcc . /
COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
RUN tar -xf $SRC_FILE
WORKDIR groff-${VERSION}
WORKDIR /groff-${VERSION}
ENV SOURCE_DATE_EPOCH=1
RUN --network=none <<-EOF
set -eux

View file

@ -18,7 +18,7 @@ COPY --from=stagex/go . /
COPY --from=stagex/ca-certificates . /
ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
RUN tar -xvf ${SRC_FILE}
WORKDIR grpcurl-${VERSION}
WORKDIR /grpcurl-${VERSION}
ENV GOPATH="/grpcurl-${VERSION}"
RUN go get ./...

View file

@ -26,7 +26,7 @@ COPY --from=stagex/gettext . /
COPY --from=stagex/xz . /
COPY --from=stagex/linux-headers . /
RUN tar -xf ${SRC_FILE}
WORKDIR grub-${VERSION}
WORKDIR /grub-${VERSION}
RUN --network=none <<-EOF
set -eux
sh autogen.sh

View file

@ -15,7 +15,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf ${SRC_FILE}
WORKDIR gzip-${VERSION}
WORKDIR /gzip-${VERSION}
ENV FORCE_UNSAFE_CONFIGURE=1
RUN --network=none <<-EOF
set -ex

View file

@ -19,7 +19,7 @@ COPY --from=stagex/go . /
COPY --from=stagex/ca-certificates . /
ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
RUN tar -xvf ${SRC_FILE}
WORKDIR helm-${VERSION}
WORKDIR /helm-${VERSION}
RUN go get ./...
FROM fetch AS build

View file

@ -17,7 +17,7 @@ COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
COPY --from=stagex/openssl . /
RUN tar -xf ${SRC_FILE}
WORKDIR hunspell-${VERSION}
WORKDIR /hunspell-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -22,7 +22,7 @@ COPY --from=stagex/make . /
COPY --from=stagex/musl . /
COPY --from=stagex/gcc . /
RUN tar -xzf ${SRC_FILE}
WORKDIR icu/source
WORKDIR /icu/source
RUN --network=none <<-EOF
./configure \
--build=${ARCH}-linux-musl \

View file

@ -20,7 +20,7 @@ COPY --from=stagex/libxslt . /
COPY --from=stagex/linux-headers . /
COPY --from=stagex/ninja . /
RUN tar -xzf ${SRC_FILE}
WORKDIR iputils-${VERSION}
WORKDIR /iputils-${VERSION}
RUN --network=none <<-EOF
set -eux;
./configure

View file

@ -15,7 +15,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf ${SRC_FILE}
WORKDIR jq-${VERSION}
WORKDIR /jq-${VERSION}
RUN --network=none <<-EOF
set -ex
./configure \

View file

@ -19,7 +19,7 @@ COPY --from=stagex/gcc . /
COPY --from=stagex/zlib . /
RUN tar -xf ${SRC_FILE}
WORKDIR json-c-${VERSION}
WORKDIR /json-c-${VERSION}
RUN <<-EOF
set -eux
cmake \

View file

@ -19,7 +19,7 @@ COPY --from=stagex/go . /
COPY --from=stagex/ca-certificates . /
ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
RUN tar -xvf ${SRC_FILE}
WORKDIR k9s-${VERSION}
WORKDIR /k9s-${VERSION}
RUN go get ./...
FROM fetch AS build

View file

@ -16,7 +16,7 @@ COPY --from=stagex/openssl . /
COPY --from=stagex/zlib . /
COPY --from=stagex/ca-certificates . /
RUN tar xf ${SRC_FILE}
WORKDIR keyfork
WORKDIR /keyfork
ADD <<-EOF /.cargo/config.toml
[registries.distrust]
index = "https://git.distrust.co/public/_cargo-index.git"

View file

@ -33,7 +33,7 @@ COPY --from=stagex/libtool . /
COPY --from=stagex/libverto . /
COPY --from=stagex/pkgconf . /
RUN tar -xf $SRC_FILE
WORKDIR krb5-${VERSION}/src
WORKDIR /krb5-${VERSION}/src
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -19,7 +19,7 @@ COPY --from=stagex/go . /
COPY --from=stagex/ca-certificates . /
ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
RUN tar -xvf ${SRC_FILE}
WORKDIR ksops-dry-run-${VERSION}
WORKDIR /ksops-dry-run-${VERSION}
RUN go get ./...
FROM fetch AS build

View file

@ -19,7 +19,7 @@ COPY --from=stagex/go . /
COPY --from=stagex/ca-certificates . /
ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
RUN tar -xvf ${SRC_FILE}
WORKDIR kubeconform-${VERSION}
WORKDIR /kubeconform-${VERSION}
RUN go get ./...
FROM fetch AS build

View file

@ -18,7 +18,7 @@ COPY --from=stagex/go . /
COPY --from=stagex/ca-certificates . /
ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
RUN tar -xvf ${SRC_FILE}
WORKDIR kubernetes-${VERSION}
WORKDIR /kubernetes-${VERSION}
RUN GOPATH="/kubernetes-${VERSION}" go mod download
FROM fetch AS build

View file

@ -19,7 +19,7 @@ COPY --from=stagex/go . /
COPY --from=stagex/ca-certificates . /
ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
RUN tar -xvf ${SRC_FILE}
WORKDIR kustomize-sops-${VERSION}
WORKDIR /kustomize-sops-${VERSION}
RUN go get ./...
FROM fetch AS build

View file

@ -19,7 +19,7 @@ COPY --from=stagex/go . /
COPY --from=stagex/ca-certificates . /
ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE} .
RUN tar -xvf ${SRC_FILE}
WORKDIR kustomize-${VERSION}/kustomize
WORKDIR /kustomize-${VERSION}/kustomize
RUN go get ./...
FROM fetch AS build

View file

@ -18,7 +18,7 @@ COPY --from=stagex/make . /
COPY --from=stagex/linux-headers . /
RUN tar -xf ${SRC_FILE}
WORKDIR libaio-libaio-${VERSION}
WORKDIR /libaio-libaio-${VERSION}
COPY *.patch .
RUN --network=none <<-EOF
set -eux

View file

@ -15,7 +15,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf ${SRC_FILE}
WORKDIR libarchive-${VERSION}
WORKDIR /libarchive-${VERSION}
RUN --network=none <<-EOF
set -ex
./configure \

View file

@ -15,7 +15,7 @@ COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
COPY --from=stagex/libgpg-error . /
RUN tar -xvf $SRC_FILE
WORKDIR libassuan-${VERSION}
WORKDIR /libassuan-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -15,7 +15,7 @@ COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
COPY --from=stagex/musl . /
RUN tar -xf ${SRC_FILE}
WORKDIR libcap-ng-${VERSION}
WORKDIR /libcap-ng-${VERSION}
RUN --network=none <<-EOF
set -eux;
./configure \

View file

@ -17,7 +17,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/perl . /
COPY --from=stagex/gcc . /
RUN tar -xzf ${SRC_FILE}
WORKDIR libcap-${VERSION}
WORKDIR /libcap-${VERSION}
RUN --network=none make -j "$(nproc)" lib=lib prefix=/usr GOLANG=no DESTDIR=/rootfs
FROM build AS install

View file

@ -20,7 +20,7 @@ COPY --from=stagex/gcc . /
COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
RUN tar -xf $SRC_FILE
WORKDIR libedit-${VERSION}
WORKDIR /libedit-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -17,7 +17,7 @@ COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
COPY --from=stagex/openssl . /
RUN tar -xf $SRC_FILE
WORKDIR libevent-${VERSION}-stable
WORKDIR /libevent-${VERSION}-stable
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -15,7 +15,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf ${SRC_FILE}
WORKDIR libffi-${VERSION}
WORKDIR /libffi-${VERSION}
RUN --network=none <<-EOF
set -ex
./configure \

View file

@ -15,7 +15,7 @@ COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
COPY --from=stagex/libgpg-error . /
RUN tar -xvf $SRC_FILE
WORKDIR libgcrypt-${VERSION}
WORKDIR /libgcrypt-${VERSION}
ENV SOURCE_DATE_EPOCH=1
RUN --network=none <<-EOF
set -eux

View file

@ -15,7 +15,7 @@ COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
COPY --from=stagex/npth . /
RUN tar -xvf $SRC_FILE
WORKDIR libgpg-error-${VERSION}
WORKDIR /libgpg-error-${VERSION}
ENV SOURCE_DATE_EPOCH=1
RUN --network=none <<-EOF
set -eux

View file

@ -21,7 +21,7 @@ COPY --from=stagex/icu . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf v${VERSION}.tar.gz
WORKDIR nuspell-${VERSION}
WORKDIR /nuspell-${VERSION}
RUN --network=none <<-EOF
set -ex
CXXFLAGS="$CXXFLAGS -flto=auto" \

View file

@ -18,7 +18,7 @@ COPY --from=stagex/binutils . /
COPY --from=stagex/make . /
COPY --from=stagex/openssl . /
RUN tar -xf ${SRC_FILE}
WORKDIR libiconv-${VERSION}
WORKDIR /libiconv-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -16,7 +16,7 @@ COPY --from=stagex/make . /
COPY --from=stagex/npth . /
COPY --from=stagex/libgpg-error . /
RUN tar -xvf $SRC_FILE
WORKDIR libksba-${VERSION}
WORKDIR /libksba-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -16,7 +16,7 @@ COPY --from=stagex/linux-headers . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xzf ${SRC_FILE}
WORKDIR qrencode-${VERSION}
WORKDIR /qrencode-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -19,7 +19,7 @@ COPY --from=stagex/make . /
COPY --from=stagex/musl . /
COPY --from=stagex/zlib . /
RUN tar -xf ${SRC_FILE}
WORKDIR libseccomp-${VERSION}
WORKDIR /libseccomp-${VERSION}
RUN --network=none <<-EOF
set -eux;
./configure \

View file

@ -15,7 +15,7 @@ COPY --from=stagex/musl . /
COPY --from=stagex/make . /
COPY --from=stagex/gcc . /
RUN tar -xf ${SRC_FILE}
WORKDIR libsodium-${VERSION}
WORKDIR /libsodium-${VERSION}
RUN --network=none <<-EOF
set -ex
./configure \

View file

@ -15,7 +15,7 @@ COPY --from=stagex/make . /
COPY --from=stagex/musl . /
COPY --from=stagex/m4 . /
RUN tar -xf ${SRC_FILE}
WORKDIR libtool-${VERSION}
WORKDIR /libtool-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -17,7 +17,7 @@ COPY --from=stagex/autoconf . /
COPY --from=stagex/automake . /
COPY --from=stagex/libtool . /
RUN tar -xf ${SRC_FILE}
WORKDIR libunwind-${VERSION}
WORKDIR /libunwind-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -15,7 +15,7 @@ COPY --from=stagex/make . /
COPY --from=stagex/musl . /
COPY --from=stagex/linux-headers . /
RUN tar -xf ${SRC_FILE}
WORKDIR libusb-${VERSION}
WORKDIR /libusb-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

View file

@ -41,7 +41,7 @@ COPY --from=stagex/python . /
COPY --from=stagex/libevent . /
COPY --from=stagex/pkgconf . /
RUN tar -xf $SRC_FILE
WORKDIR libverto-${VERSION}
WORKDIR /libverto-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \

Some files were not shown because too many files have changed in this diff Show more