From 9fcd530d77631e638554d5a6c07f462c2383a8ef Mon Sep 17 00:00:00 2001 From: Danny Grove Date: Sun, 25 Aug 2024 18:18:52 -0700 Subject: [PATCH] Ensure that all WORKDIRs are absolute --- packages/abseil-cpp/Containerfile | 2 +- packages/acl/Containerfile | 2 +- packages/alsa-lib/Containerfile | 2 +- packages/apr-util/Containerfile | 2 +- packages/apr/Containerfile | 2 +- packages/argon2/Containerfile | 2 +- packages/argp-standalone/Containerfile | 2 +- packages/aspell/Containerfile | 2 +- packages/attr/Containerfile | 2 +- packages/autoconf-archive/Containerfile | 2 +- packages/autoconf/Containerfile | 2 +- packages/automake/Containerfile | 2 +- packages/aws-cli/Containerfile | 2 +- packages/bash/Containerfile | 2 +- packages/bc/Containerfile | 2 +- packages/binutils/Containerfile | 2 +- packages/bison/Containerfile | 2 +- packages/brotli/Containerfile | 2 +- packages/buf/Containerfile | 2 +- packages/busybox/Containerfile | 2 +- packages/bzip2/Containerfile | 2 +- packages/ca-certificates/Containerfile | 2 +- packages/ccid/Containerfile | 2 +- packages/clang/Containerfile | 2 +- packages/clang16/Containerfile | 2 +- packages/cmake/Containerfile | 2 +- packages/coreutils/Containerfile | 2 +- packages/cpio/Containerfile | 2 +- packages/curl/Containerfile | 2 +- packages/cython/Containerfile | 2 +- packages/diffoscope/Containerfile | 2 +- packages/diffutils/Containerfile | 2 +- packages/docbook-xsl/Containerfile | 2 +- packages/dosfstools/Containerfile | 2 +- packages/doxygen/Containerfile | 2 +- packages/dtc/Containerfile | 2 +- packages/e2fsprogs/Containerfile | 2 +- packages/ed/Containerfile | 2 +- packages/eif_build/Containerfile | 4 ++-- packages/elfutils/Containerfile | 2 +- packages/eudev/Containerfile | 2 +- packages/expat/Containerfile | 2 +- packages/file/Containerfile | 2 +- packages/filesystem/Containerfile | 2 +- packages/findutils/Containerfile | 2 +- packages/flashtools/Containerfile | 2 +- packages/flex/Containerfile | 2 +- packages/fmt/Containerfile | 2 +- packages/freetds/Containerfile | 2 +- packages/gawk/Containerfile | 2 +- packages/gcc/Containerfile | 2 +- packages/gdbm/Containerfile | 2 +- packages/gen_initramfs/Containerfile | 2 +- packages/gettext/Containerfile | 2 +- packages/git/Containerfile | 2 +- packages/glib/Containerfile | 2 +- packages/gmp/Containerfile | 2 +- packages/go-md2man/Containerfile | 2 +- packages/go/Containerfile | 8 ++++---- packages/gperf/Containerfile | 2 +- packages/gpg/Containerfile | 2 +- packages/grep/Containerfile | 2 +- packages/groff/Containerfile | 2 +- packages/grpcurl/Containerfile | 2 +- packages/grub/Containerfile | 2 +- packages/gzip/Containerfile | 2 +- packages/helm/Containerfile | 2 +- packages/hunspell/Containerfile | 2 +- packages/icu/Containerfile | 2 +- packages/iputils/Containerfile | 2 +- packages/jq/Containerfile | 2 +- packages/json-c/Containerfile | 2 +- packages/k9s/Containerfile | 2 +- packages/keyfork/Containerfile | 2 +- packages/krb5/Containerfile | 2 +- packages/ksops-dry-run/Containerfile | 2 +- packages/kubeconform/Containerfile | 2 +- packages/kubectl/Containerfile | 2 +- packages/kustomize-sops/Containerfile | 2 +- packages/kustomize/Containerfile | 2 +- packages/libaio/Containerfile | 2 +- packages/libarchive/Containerfile | 2 +- packages/libassuan/Containerfile | 2 +- packages/libcap-ng/Containerfile | 2 +- packages/libcap/Containerfile | 2 +- packages/libedit/Containerfile | 2 +- packages/libevent/Containerfile | 2 +- packages/libffi/Containerfile | 2 +- packages/libgcrypt/Containerfile | 2 +- packages/libgpg-error/Containerfile | 2 +- packages/libical/Containerfile | 2 +- packages/libiconv/Containerfile | 2 +- packages/libksba/Containerfile | 2 +- packages/libqrencode/Containerfile | 2 +- packages/libseccomp/Containerfile | 2 +- packages/libsodium/Containerfile | 2 +- packages/libtool/Containerfile | 2 +- packages/libunwind/Containerfile | 2 +- packages/libusb/Containerfile | 2 +- packages/libverto/Containerfile | 2 +- packages/libxml2/Containerfile | 2 +- packages/libxslt/Containerfile | 2 +- packages/libzstd/Containerfile | 2 +- packages/linux-airgap/Containerfile | 2 +- packages/linux-generic/Containerfile | 2 +- packages/linux-headers/Containerfile | 2 +- packages/linux-nitro/Containerfile | 2 +- packages/linux-pam/Containerfile | 2 +- packages/lld/Containerfile | 2 +- packages/llvm/Containerfile | 2 +- packages/llvm13/Containerfile | 2 +- packages/llvm16/Containerfile | 2 +- packages/lmdb/Containerfile | 2 +- packages/lua/Containerfile | 2 +- packages/lzip/Containerfile | 2 +- packages/lzo/Containerfile | 2 +- packages/m4/Containerfile | 2 +- packages/make/Containerfile | 2 +- packages/mdbook/Containerfile | 2 +- packages/meson/Containerfile | 2 +- packages/mockgen/Containerfile | 2 +- packages/mtools/Containerfile | 2 +- packages/musl-fts/Containerfile | 2 +- packages/musl-obstack/Containerfile | 2 +- packages/musl/Containerfile | 2 +- packages/ncurses/Containerfile | 2 +- packages/nettle/Containerfile | 2 +- packages/ninja/Containerfile | 2 +- packages/npth/Containerfile | 2 +- packages/numactl/Containerfile | 2 +- packages/nuspell/Containerfile | 2 +- packages/ocaml/Containerfile | 2 +- packages/ocismack/Containerfile | 2 +- packages/openldap/Containerfile | 2 +- packages/openpgp-card-tools/Containerfile | 2 +- packages/opensc/Containerfile | 2 +- packages/openssh/Containerfile | 2 +- packages/openssl/Containerfile | 2 +- packages/pcre2/Containerfile | 2 +- packages/pcsc-lite/Containerfile | 2 +- packages/pcsc-tools/Containerfile | 2 +- packages/perl-dbi/Containerfile | 2 +- packages/perl-module-build/Containerfile | 2 +- packages/perl-pod-parser/Containerfile | 2 +- packages/perl-yaml-syck/Containerfile | 2 +- packages/perl/Containerfile | 2 +- packages/php/Containerfile | 2 +- packages/pkgconf/Containerfile | 2 +- packages/po4a/Containerfile | 2 +- packages/postgresql/Containerfile | 2 +- packages/protobuf/Containerfile | 2 +- packages/protoc-gen-go-grpc/Containerfile | 2 +- packages/protoc-gen-go/Containerfile | 2 +- .../protoc-gen-grpc-gateway/Containerfile | 2 +- packages/protoc-gen-openapiv2/Containerfile | 2 +- packages/protoc-go-inject-tag/Containerfile | 2 +- packages/py-alabaster/Containerfile | 2 +- packages/py-awscrt/Containerfile | 2 +- packages/py-babel/Containerfile | 2 +- packages/py-botocore/Containerfile | 2 +- packages/py-build/Containerfile | 2 +- packages/py-certifi/Containerfile | 2 +- packages/py-cffi/Containerfile | 2 +- packages/py-colorama/Containerfile | 2 +- packages/py-cparser/Containerfile | 2 +- packages/py-cryptography/Containerfile | 2 +- packages/py-dateutil/Containerfile | 2 +- packages/py-distro/Containerfile | 2 +- packages/py-docutils/Containerfile | 2 +- packages/py-flit/Containerfile | 2 +- packages/py-gpep517/Containerfile | 2 +- packages/py-hatchling/Containerfile | 2 +- packages/py-idna/Containerfile | 2 +- packages/py-imagesize/Containerfile | 2 +- packages/py-installer/Containerfile | 2 +- packages/py-jinja2/Containerfile | 2 +- packages/py-jmespath/Containerfile | 2 +- packages/py-libarchive/Containerfile | 2 +- packages/py-magic/Containerfile | 2 +- packages/py-markupsafe/Containerfile | 2 +- packages/py-packaging/Containerfile | 2 +- packages/py-pathspec/Containerfile | 2 +- packages/py-pep517/Containerfile | 2 +- packages/py-pluggy/Containerfile | 2 +- packages/py-prompt_toolkit/Containerfile | 2 +- packages/py-pygments/Containerfile | 2 +- packages/py-requests/Containerfile | 2 +- packages/py-ruamel.yaml/Containerfile | 2 +- packages/py-semantic-version/Containerfile | 2 +- packages/py-setuptools-rust/Containerfile | 2 +- packages/py-setuptools-scm/Containerfile | 2 +- packages/py-setuptools/Containerfile | 2 +- packages/py-six/Containerfile | 2 +- packages/py-snowballstemmer/Containerfile | 2 +- packages/py-sphinx/Containerfile | 2 +- packages/py-sphinx_rtd_theme/Containerfile | 2 +- .../py-sphinxcontrib-applehelp/Containerfile | 2 +- .../py-sphinxcontrib-devhelp/Containerfile | 2 +- .../py-sphinxcontrib-htmlhelp/Containerfile | 2 +- .../py-sphinxcontrib-jquery/Containerfile | 2 +- .../py-sphinxcontrib-qthelp/Containerfile | 2 +- .../Containerfile | 2 +- packages/py-toml/Containerfile | 2 +- packages/py-trove-classifiers/Containerfile | 2 +- packages/py-typing-extensions/Containerfile | 2 +- packages/py-urllib3/Containerfile | 2 +- packages/py-wcwidth/Containerfile | 2 +- packages/py-wheel/Containerfile | 2 +- packages/python/Containerfile | 2 +- packages/qemu/Containerfile | 2 +- packages/re2c/Containerfile | 2 +- packages/readline/Containerfile | 2 +- packages/redis/Containerfile | 2 +- packages/rhash/Containerfile | 2 +- packages/samurai/Containerfile | 2 +- packages/scdoc/Containerfile | 2 +- packages/sdtool/Containerfile | 2 +- packages/sed/Containerfile | 2 +- packages/skalibs/Containerfile | 2 +- packages/sops/Containerfile | 2 +- packages/sqlite3/Containerfile | 2 +- packages/stage0/Containerfile | 6 +++--- packages/stage1/Containerfile | 2 +- packages/stage2/Containerfile | 20 +++++++++---------- packages/stage3/Containerfile | 14 ++++++------- packages/strace/Containerfile | 2 +- packages/sxctl/Containerfile | 4 ++-- packages/syslinux/Containerfile | 2 +- packages/talosctl/Containerfile | 2 +- packages/tar/Containerfile | 2 +- packages/tcl/Containerfile | 2 +- packages/texinfo/Containerfile | 2 +- packages/tflint/Containerfile | 2 +- packages/tofu/Containerfile | 2 +- packages/tpm2-tools/Containerfile | 2 +- packages/tpm2-tss/Containerfile | 2 +- packages/unixodbc/Containerfile | 2 +- packages/util-linux/Containerfile | 2 +- packages/util-macros/Containerfile | 2 +- packages/utmps/Containerfile | 2 +- packages/xmlto/Containerfile | 2 +- packages/xorriso/Containerfile | 2 +- packages/xz/Containerfile | 2 +- packages/yq/Containerfile | 2 +- packages/zig/Containerfile | 2 +- packages/zip/Containerfile | 2 +- packages/zlib/Containerfile | 2 +- 247 files changed, 269 insertions(+), 269 deletions(-) diff --git a/packages/abseil-cpp/Containerfile b/packages/abseil-cpp/Containerfile index 278b1c1..88aa9ab 100644 --- a/packages/abseil-cpp/Containerfile +++ b/packages/abseil-cpp/Containerfile @@ -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 \ diff --git a/packages/acl/Containerfile b/packages/acl/Containerfile index bf5ce1c..b20b623 100644 --- a/packages/acl/Containerfile +++ b/packages/acl/Containerfile @@ -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 \ diff --git a/packages/alsa-lib/Containerfile b/packages/alsa-lib/Containerfile index 0b12325..0a19048 100644 --- a/packages/alsa-lib/Containerfile +++ b/packages/alsa-lib/Containerfile @@ -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 \ diff --git a/packages/apr-util/Containerfile b/packages/apr-util/Containerfile index 49859f4..9174206 100644 --- a/packages/apr-util/Containerfile +++ b/packages/apr-util/Containerfile @@ -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 diff --git a/packages/apr/Containerfile b/packages/apr/Containerfile index 3998660..468c066 100644 --- a/packages/apr/Containerfile +++ b/packages/apr/Containerfile @@ -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 \ diff --git a/packages/argon2/Containerfile b/packages/argon2/Containerfile index 1c8dc94..b060e58 100644 --- a/packages/argon2/Containerfile +++ b/packages/argon2/Containerfile @@ -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} diff --git a/packages/argp-standalone/Containerfile b/packages/argp-standalone/Containerfile index 2e95803..533601a 100644 --- a/packages/argp-standalone/Containerfile +++ b/packages/argp-standalone/Containerfile @@ -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 diff --git a/packages/aspell/Containerfile b/packages/aspell/Containerfile index d56683e..bf0a81f 100644 --- a/packages/aspell/Containerfile +++ b/packages/aspell/Containerfile @@ -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 diff --git a/packages/attr/Containerfile b/packages/attr/Containerfile index a8d8dc8..e82e935 100644 --- a/packages/attr/Containerfile +++ b/packages/attr/Containerfile @@ -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 \ diff --git a/packages/autoconf-archive/Containerfile b/packages/autoconf-archive/Containerfile index a7b56cd..9ba90c2 100644 --- a/packages/autoconf-archive/Containerfile +++ b/packages/autoconf-archive/Containerfile @@ -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 \ diff --git a/packages/autoconf/Containerfile b/packages/autoconf/Containerfile index 43ee262..c827cfd 100644 --- a/packages/autoconf/Containerfile +++ b/packages/autoconf/Containerfile @@ -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 diff --git a/packages/automake/Containerfile b/packages/automake/Containerfile index 9b1ef31..05338a8 100644 --- a/packages/automake/Containerfile +++ b/packages/automake/Containerfile @@ -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 diff --git a/packages/aws-cli/Containerfile b/packages/aws-cli/Containerfile index f7b20a1..cb9590b 100644 --- a/packages/aws-cli/Containerfile +++ b/packages/aws-cli/Containerfile @@ -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 \ diff --git a/packages/bash/Containerfile b/packages/bash/Containerfile index c24def6..fdd7534 100644 --- a/packages/bash/Containerfile +++ b/packages/bash/Containerfile @@ -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 \ diff --git a/packages/bc/Containerfile b/packages/bc/Containerfile index dd2cef3..8ee91f0 100644 --- a/packages/bc/Containerfile +++ b/packages/bc/Containerfile @@ -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 \ diff --git a/packages/binutils/Containerfile b/packages/binutils/Containerfile index c508583..b4688b4 100644 --- a/packages/binutils/Containerfile +++ b/packages/binutils/Containerfile @@ -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' \ diff --git a/packages/bison/Containerfile b/packages/bison/Containerfile index c1fa9f6..77f6ba9 100644 --- a/packages/bison/Containerfile +++ b/packages/bison/Containerfile @@ -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 diff --git a/packages/brotli/Containerfile b/packages/brotli/Containerfile index be02f79..4f50c96 100644 --- a/packages/brotli/Containerfile +++ b/packages/brotli/Containerfile @@ -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 \ diff --git a/packages/buf/Containerfile b/packages/buf/Containerfile index 5fca118..7945101 100644 --- a/packages/buf/Containerfile +++ b/packages/buf/Containerfile @@ -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/ diff --git a/packages/busybox/Containerfile b/packages/busybox/Containerfile index 7d1249b..db7d909 100644 --- a/packages/busybox/Containerfile +++ b/packages/busybox/Containerfile @@ -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 diff --git a/packages/bzip2/Containerfile b/packages/bzip2/Containerfile index 97b1aaf..3654a7e 100644 --- a/packages/bzip2/Containerfile +++ b/packages/bzip2/Containerfile @@ -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 diff --git a/packages/ca-certificates/Containerfile b/packages/ca-certificates/Containerfile index d58f003..0429e68 100644 --- a/packages/ca-certificates/Containerfile +++ b/packages/ca-certificates/Containerfile @@ -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 diff --git a/packages/ccid/Containerfile b/packages/ccid/Containerfile index f863b1d..18b2acc 100644 --- a/packages/ccid/Containerfile +++ b/packages/ccid/Containerfile @@ -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 \ diff --git a/packages/clang/Containerfile b/packages/clang/Containerfile index 3587d66..9cd3476 100644 --- a/packages/clang/Containerfile +++ b/packages/clang/Containerfile @@ -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 \ diff --git a/packages/clang16/Containerfile b/packages/clang16/Containerfile index 6689390..4891949 100644 --- a/packages/clang16/Containerfile +++ b/packages/clang16/Containerfile @@ -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 \ diff --git a/packages/cmake/Containerfile b/packages/cmake/Containerfile index d0de56e..82cb56a 100644 --- a/packages/cmake/Containerfile +++ b/packages/cmake/Containerfile @@ -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 \ diff --git a/packages/coreutils/Containerfile b/packages/coreutils/Containerfile index a23f121..ea94a1b 100644 --- a/packages/coreutils/Containerfile +++ b/packages/coreutils/Containerfile @@ -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 diff --git a/packages/cpio/Containerfile b/packages/cpio/Containerfile index e6efeb8..4322e27 100644 --- a/packages/cpio/Containerfile +++ b/packages/cpio/Containerfile @@ -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 \ diff --git a/packages/curl/Containerfile b/packages/curl/Containerfile index e7637dc..8f01949 100644 --- a/packages/curl/Containerfile +++ b/packages/curl/Containerfile @@ -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 \ diff --git a/packages/cython/Containerfile b/packages/cython/Containerfile index aa6dc49..c2ec176 100644 --- a/packages/cython/Containerfile +++ b/packages/cython/Containerfile @@ -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 diff --git a/packages/diffoscope/Containerfile b/packages/diffoscope/Containerfile index 158fe94..7c6c050 100644 --- a/packages/diffoscope/Containerfile +++ b/packages/diffoscope/Containerfile @@ -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 diff --git a/packages/diffutils/Containerfile b/packages/diffutils/Containerfile index 6403813..d7f6592 100644 --- a/packages/diffutils/Containerfile +++ b/packages/diffutils/Containerfile @@ -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 \ diff --git a/packages/docbook-xsl/Containerfile b/packages/docbook-xsl/Containerfile index 2664fc9..0286e03 100644 --- a/packages/docbook-xsl/Containerfile +++ b/packages/docbook-xsl/Containerfile @@ -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} diff --git a/packages/dosfstools/Containerfile b/packages/dosfstools/Containerfile index 365427e..db7b2de 100644 --- a/packages/dosfstools/Containerfile +++ b/packages/dosfstools/Containerfile @@ -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 diff --git a/packages/doxygen/Containerfile b/packages/doxygen/Containerfile index b260de6..89ed805 100644 --- a/packages/doxygen/Containerfile +++ b/packages/doxygen/Containerfile @@ -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 \ diff --git a/packages/dtc/Containerfile b/packages/dtc/Containerfile index 1bbe8f8..24d88e1 100644 --- a/packages/dtc/Containerfile +++ b/packages/dtc/Containerfile @@ -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 diff --git a/packages/e2fsprogs/Containerfile b/packages/e2fsprogs/Containerfile index 2aac137..b16930b 100644 --- a/packages/e2fsprogs/Containerfile +++ b/packages/e2fsprogs/Containerfile @@ -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 \ diff --git a/packages/ed/Containerfile b/packages/ed/Containerfile index 0ee2ffa..201e4a8 100644 --- a/packages/ed/Containerfile +++ b/packages/ed/Containerfile @@ -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 \ diff --git a/packages/eif_build/Containerfile b/packages/eif_build/Containerfile index 4ec053c..824abad 100644 --- a/packages/eif_build/Containerfile +++ b/packages/eif_build/Containerfile @@ -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 diff --git a/packages/elfutils/Containerfile b/packages/elfutils/Containerfile index d97f761..70e72ab 100644 --- a/packages/elfutils/Containerfile +++ b/packages/elfutils/Containerfile @@ -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 diff --git a/packages/eudev/Containerfile b/packages/eudev/Containerfile index dcff4e6..e507bbe 100644 --- a/packages/eudev/Containerfile +++ b/packages/eudev/Containerfile @@ -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 <&1 >&2 FROM build AS install diff --git a/packages/py-awscrt/Containerfile b/packages/py-awscrt/Containerfile index 1428c76..c60fa47 100644 --- a/packages/py-awscrt/Containerfile +++ b/packages/py-awscrt/Containerfile @@ -24,7 +24,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR awscrt-${VERSION} +WORKDIR /awscrt-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-babel/Containerfile b/packages/py-babel/Containerfile index a788ee2..1b7024d 100644 --- a/packages/py-babel/Containerfile +++ b/packages/py-babel/Containerfile @@ -25,7 +25,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR Babel-${VERSION} +WORKDIR /Babel-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-botocore/Containerfile b/packages/py-botocore/Containerfile index 937d7e9..c14c5fb 100644 --- a/packages/py-botocore/Containerfile +++ b/packages/py-botocore/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR botocore-${VERSION} +WORKDIR /botocore-${VERSION} RUN <<-EOF set -eu sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')" diff --git a/packages/py-build/Containerfile b/packages/py-build/Containerfile index a43aa84..f18e990 100644 --- a/packages/py-build/Containerfile +++ b/packages/py-build/Containerfile @@ -14,7 +14,7 @@ COPY --from=stagex/python . / COPY --from=stagex/py-setuptools . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR build-${VERSION} +WORKDIR /build-${VERSION} RUN --network=none <<-EOF set -eu python setup.py install --root=/rootfs diff --git a/packages/py-certifi/Containerfile b/packages/py-certifi/Containerfile index 0a059d2..7c1cba4 100644 --- a/packages/py-certifi/Containerfile +++ b/packages/py-certifi/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR certifi-${VERSION} +WORKDIR /certifi-${VERSION} RUN --network=none <<-EOF set -eu sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')" diff --git a/packages/py-cffi/Containerfile b/packages/py-cffi/Containerfile index ffd5205..1b77728 100644 --- a/packages/py-cffi/Containerfile +++ b/packages/py-cffi/Containerfile @@ -21,7 +21,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/py-installer . / RUN tar -xzf ${SRC_FILE} -WORKDIR cffi-${VERSION} +WORKDIR /cffi-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-colorama/Containerfile b/packages/py-colorama/Containerfile index 618a5a7..6523bde 100644 --- a/packages/py-colorama/Containerfile +++ b/packages/py-colorama/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR colorama-${VERSION} +WORKDIR /colorama-${VERSION} RUN --network=none <<-EOF set -eu sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')" diff --git a/packages/py-cparser/Containerfile b/packages/py-cparser/Containerfile index b84c512..9c184dd 100644 --- a/packages/py-cparser/Containerfile +++ b/packages/py-cparser/Containerfile @@ -24,7 +24,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/py-installer . / RUN tar -xzf ${SRC_FILE} -WORKDIR pycparser-${VERSION} +WORKDIR /pycparser-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-cryptography/Containerfile b/packages/py-cryptography/Containerfile index 9d7119e..c0c0330 100644 --- a/packages/py-cryptography/Containerfile +++ b/packages/py-cryptography/Containerfile @@ -32,7 +32,7 @@ COPY --from=stagex/py-typing-extensions . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/py-installer . / RUN tar -xzf ${SRC_FILE} -WORKDIR cryptography-${VERSION} +WORKDIR /cryptography-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-dateutil/Containerfile b/packages/py-dateutil/Containerfile index d043fe0..ffba89c 100644 --- a/packages/py-dateutil/Containerfile +++ b/packages/py-dateutil/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR python-dateutil-${VERSION}/src +WORKDIR /python-dateutil-${VERSION}/src RUN --network=none <<-EOF set -eu sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')" diff --git a/packages/py-distro/Containerfile b/packages/py-distro/Containerfile index ef84236..54b4e3f 100644 --- a/packages/py-distro/Containerfile +++ b/packages/py-distro/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR distro-${VERSION}/src +WORKDIR /distro-${VERSION}/src RUN --network=none <<-EOF set -eu sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')" diff --git a/packages/py-docutils/Containerfile b/packages/py-docutils/Containerfile index 908a281..3294e80 100644 --- a/packages/py-docutils/Containerfile +++ b/packages/py-docutils/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR docutils-${VERSION} +WORKDIR /docutils-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-flit/Containerfile b/packages/py-flit/Containerfile index 1e313b1..bafe997 100644 --- a/packages/py-flit/Containerfile +++ b/packages/py-flit/Containerfile @@ -14,7 +14,7 @@ COPY --from=stagex/python . / COPY --from=stagex/py-setuptools . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR flit-${VERSION}/flit_core +WORKDIR /flit-${VERSION}/flit_core RUN --network=none <<-EOF set -eu rm -rf flit_core/vendor diff --git a/packages/py-gpep517/Containerfile b/packages/py-gpep517/Containerfile index 718895f..d39d31f 100644 --- a/packages/py-gpep517/Containerfile +++ b/packages/py-gpep517/Containerfile @@ -13,7 +13,7 @@ COPY --from=stagex/musl . / COPY --from=stagex/python . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR gpep517-${VERSION} +WORKDIR /gpep517-${VERSION} COPY <<-'EOF' gpep517-cli #!/usr/bin/python3 # -*- coding: utf-8 -*- diff --git a/packages/py-hatchling/Containerfile b/packages/py-hatchling/Containerfile index 08980aa..60e278f 100644 --- a/packages/py-hatchling/Containerfile +++ b/packages/py-hatchling/Containerfile @@ -27,7 +27,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR hatchling-${VERSION} +WORKDIR /hatchling-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-idna/Containerfile b/packages/py-idna/Containerfile index d836cf3..f328044 100644 --- a/packages/py-idna/Containerfile +++ b/packages/py-idna/Containerfile @@ -25,7 +25,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR idna-${VERSION} +WORKDIR /idna-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-imagesize/Containerfile b/packages/py-imagesize/Containerfile index 2ac7bdb..3e43846 100644 --- a/packages/py-imagesize/Containerfile +++ b/packages/py-imagesize/Containerfile @@ -25,7 +25,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR imagesize-${VERSION} +WORKDIR /imagesize-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-installer/Containerfile b/packages/py-installer/Containerfile index a3812dc..3c03db0 100644 --- a/packages/py-installer/Containerfile +++ b/packages/py-installer/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-packaging . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR installer-${VERSION} +WORKDIR /installer-${VERSION} RUN python -m build -wn --skip-dependency-check FROM build AS install diff --git a/packages/py-jinja2/Containerfile b/packages/py-jinja2/Containerfile index c8f15a9..a0fbf4f 100644 --- a/packages/py-jinja2/Containerfile +++ b/packages/py-jinja2/Containerfile @@ -24,7 +24,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR jinja2-${VERSION} +WORKDIR /jinja2-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-jmespath/Containerfile b/packages/py-jmespath/Containerfile index 994d6c6..dc0af6f 100644 --- a/packages/py-jmespath/Containerfile +++ b/packages/py-jmespath/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR jmespath-${VERSION} +WORKDIR /jmespath-${VERSION} RUN --network=none <<-EOF set -eu sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')" diff --git a/packages/py-libarchive/Containerfile b/packages/py-libarchive/Containerfile index d2f9ac6..5282f2d 100644 --- a/packages/py-libarchive/Containerfile +++ b/packages/py-libarchive/Containerfile @@ -29,7 +29,7 @@ COPY --from=stagex/libffi . / COPY --from=stagex/cmake . / COPY --from=stagex/gcc . / RUN tar -xzf ${SRC_FILE} -WORKDIR python-libarchive-c-${VERSION} +WORKDIR /python-libarchive-c-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-magic/Containerfile b/packages/py-magic/Containerfile index fc21a37..3d37c30 100644 --- a/packages/py-magic/Containerfile +++ b/packages/py-magic/Containerfile @@ -29,7 +29,7 @@ COPY --from=stagex/py-urllib3 . / COPY --from=stagex/py-cffi . / COPY --from=stagex/file . / RUN tar -xzf ${SRC_FILE} -WORKDIR python-magic-${VERSION} +WORKDIR /python-magic-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 # FROM build AS install diff --git a/packages/py-markupsafe/Containerfile b/packages/py-markupsafe/Containerfile index c803b2a..420afb8 100644 --- a/packages/py-markupsafe/Containerfile +++ b/packages/py-markupsafe/Containerfile @@ -25,7 +25,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR MarkupSafe-${VERSION} +WORKDIR /MarkupSafe-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-packaging/Containerfile b/packages/py-packaging/Containerfile index 55bc54a..88dc8b9 100644 --- a/packages/py-packaging/Containerfile +++ b/packages/py-packaging/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR packaging-${VERSION}/src +WORKDIR /packaging-${VERSION}/src RUN --network=none <<-EOF set -eu sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')" diff --git a/packages/py-pathspec/Containerfile b/packages/py-pathspec/Containerfile index ea60fa2..2b2ada4 100644 --- a/packages/py-pathspec/Containerfile +++ b/packages/py-pathspec/Containerfile @@ -23,7 +23,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR pathspec-${VERSION} +WORKDIR /pathspec-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-pep517/Containerfile b/packages/py-pep517/Containerfile index b10022b..75f8046 100644 --- a/packages/py-pep517/Containerfile +++ b/packages/py-pep517/Containerfile @@ -16,7 +16,7 @@ COPY --from=stagex/python . / COPY --from=stagex/py-setuptools . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR pep517-${VERSION} +WORKDIR /pep517-${VERSION} RUN --network=none <<-EOF set -eu python setup.py install --root=/rootfs diff --git a/packages/py-pluggy/Containerfile b/packages/py-pluggy/Containerfile index 2870d14..b46a43a 100644 --- a/packages/py-pluggy/Containerfile +++ b/packages/py-pluggy/Containerfile @@ -25,7 +25,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR pluggy-${VERSION} +WORKDIR /pluggy-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-prompt_toolkit/Containerfile b/packages/py-prompt_toolkit/Containerfile index 63dc42e..1542b5a 100644 --- a/packages/py-prompt_toolkit/Containerfile +++ b/packages/py-prompt_toolkit/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR prompt_toolkit-${VERSION}/src +WORKDIR /prompt_toolkit-${VERSION}/src RUN --network=none <<-EOF set -eu sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')" diff --git a/packages/py-pygments/Containerfile b/packages/py-pygments/Containerfile index fc53586..ebc9bba 100644 --- a/packages/py-pygments/Containerfile +++ b/packages/py-pygments/Containerfile @@ -28,7 +28,7 @@ COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/py-hatchling . / RUN tar -xzf ${SRC_FILE} -WORKDIR pygments-${VERSION} +WORKDIR /pygments-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-requests/Containerfile b/packages/py-requests/Containerfile index 9c87d7d..603e425 100644 --- a/packages/py-requests/Containerfile +++ b/packages/py-requests/Containerfile @@ -25,7 +25,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR requests-${VERSION} +WORKDIR /requests-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-ruamel.yaml/Containerfile b/packages/py-ruamel.yaml/Containerfile index 977662e..d97ac95 100644 --- a/packages/py-ruamel.yaml/Containerfile +++ b/packages/py-ruamel.yaml/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-installer . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR ruamel.yaml-${VERSION} +WORKDIR /ruamel.yaml-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-semantic-version/Containerfile b/packages/py-semantic-version/Containerfile index 8e624e9..510df3e 100644 --- a/packages/py-semantic-version/Containerfile +++ b/packages/py-semantic-version/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/py-installer . / RUN tar -xzf ${SRC_FILE} -WORKDIR semantic_version-${VERSION} +WORKDIR /semantic_version-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-setuptools-rust/Containerfile b/packages/py-setuptools-rust/Containerfile index c2ef278..2223717 100644 --- a/packages/py-setuptools-rust/Containerfile +++ b/packages/py-setuptools-rust/Containerfile @@ -20,7 +20,7 @@ COPY --from=stagex/py-setuptools-scm . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/py-installer . / RUN tar -xzf ${SRC_FILE} -WORKDIR setuptools-rust-${VERSION} +WORKDIR /setuptools-rust-${VERSION} ENV SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 diff --git a/packages/py-setuptools-scm/Containerfile b/packages/py-setuptools-scm/Containerfile index 09c5f9e..bed69f0 100644 --- a/packages/py-setuptools-scm/Containerfile +++ b/packages/py-setuptools-scm/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/py-installer . / RUN tar -xzf ${SRC_FILE} -WORKDIR setuptools-scm-${VERSION}/src +WORKDIR /setuptools-scm-${VERSION}/src ENV SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 diff --git a/packages/py-setuptools/Containerfile b/packages/py-setuptools/Containerfile index 049cc20..6afb07e 100644 --- a/packages/py-setuptools/Containerfile +++ b/packages/py-setuptools/Containerfile @@ -13,7 +13,7 @@ COPY --from=stagex/musl . / COPY --from=stagex/python . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR setuptools-${VERSION} +WORKDIR /setuptools-${VERSION} RUN python setup.py build FROM build AS install diff --git a/packages/py-six/Containerfile b/packages/py-six/Containerfile index aea1c44..58db8b3 100644 --- a/packages/py-six/Containerfile +++ b/packages/py-six/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR six-${VERSION} +WORKDIR /six-${VERSION} RUN --network=none <<-EOF set -eu sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')" diff --git a/packages/py-snowballstemmer/Containerfile b/packages/py-snowballstemmer/Containerfile index d106ede..33cdb4c 100644 --- a/packages/py-snowballstemmer/Containerfile +++ b/packages/py-snowballstemmer/Containerfile @@ -25,7 +25,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR snowballstemmer-${VERSION} +WORKDIR /snowballstemmer-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-sphinx/Containerfile b/packages/py-sphinx/Containerfile index 109d204..c9ea236 100644 --- a/packages/py-sphinx/Containerfile +++ b/packages/py-sphinx/Containerfile @@ -17,7 +17,7 @@ COPY --from=stagex/py-gpep517 . / COPY --from=stagex/py-installer . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR sphinx-${VERSION} +WORKDIR /sphinx-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-sphinx_rtd_theme/Containerfile b/packages/py-sphinx_rtd_theme/Containerfile index 97a1fab..ba78929 100644 --- a/packages/py-sphinx_rtd_theme/Containerfile +++ b/packages/py-sphinx_rtd_theme/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-wheel . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR sphinx_rtd_theme-${VERSION} +WORKDIR /sphinx_rtd_theme-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-sphinxcontrib-applehelp/Containerfile b/packages/py-sphinxcontrib-applehelp/Containerfile index 5bc227e..f101837 100644 --- a/packages/py-sphinxcontrib-applehelp/Containerfile +++ b/packages/py-sphinxcontrib-applehelp/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-wheel . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR sphinxcontrib-applehelp-${VERSION} +WORKDIR /sphinxcontrib-applehelp-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-sphinxcontrib-devhelp/Containerfile b/packages/py-sphinxcontrib-devhelp/Containerfile index 5faaa4d..eddd384 100644 --- a/packages/py-sphinxcontrib-devhelp/Containerfile +++ b/packages/py-sphinxcontrib-devhelp/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-wheel . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR sphinxcontrib-devhelp-${VERSION} +WORKDIR /sphinxcontrib-devhelp-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-sphinxcontrib-htmlhelp/Containerfile b/packages/py-sphinxcontrib-htmlhelp/Containerfile index f757ac5..082776b 100644 --- a/packages/py-sphinxcontrib-htmlhelp/Containerfile +++ b/packages/py-sphinxcontrib-htmlhelp/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-wheel . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR sphinxcontrib-htmlhelp-${VERSION} +WORKDIR /sphinxcontrib-htmlhelp-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-sphinxcontrib-jquery/Containerfile b/packages/py-sphinxcontrib-jquery/Containerfile index 057b847..8aedbf1 100644 --- a/packages/py-sphinxcontrib-jquery/Containerfile +++ b/packages/py-sphinxcontrib-jquery/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-wheel . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR jquery-${VERSION} +WORKDIR /jquery-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-sphinxcontrib-qthelp/Containerfile b/packages/py-sphinxcontrib-qthelp/Containerfile index 53f6929..69561ee 100644 --- a/packages/py-sphinxcontrib-qthelp/Containerfile +++ b/packages/py-sphinxcontrib-qthelp/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-wheel . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR sphinxcontrib-qthelp-${VERSION} +WORKDIR /sphinxcontrib-qthelp-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-sphinxcontrib-serializinghtml/Containerfile b/packages/py-sphinxcontrib-serializinghtml/Containerfile index 2b9b637..aa7a6ea 100644 --- a/packages/py-sphinxcontrib-serializinghtml/Containerfile +++ b/packages/py-sphinxcontrib-serializinghtml/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-wheel . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR sphinxcontrib-serializinghtml-${VERSION} +WORKDIR /sphinxcontrib-serializinghtml-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-toml/Containerfile b/packages/py-toml/Containerfile index 9c8d6ce..84f5a57 100644 --- a/packages/py-toml/Containerfile +++ b/packages/py-toml/Containerfile @@ -14,7 +14,7 @@ COPY --from=stagex/python . / COPY --from=stagex/py-setuptools . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR toml-${VERSION} +WORKDIR /toml-${VERSION} RUN --network=none <<-EOF set -eu python setup.py install --root=/rootfs diff --git a/packages/py-trove-classifiers/Containerfile b/packages/py-trove-classifiers/Containerfile index 2502d28..ae7e6d3 100644 --- a/packages/py-trove-classifiers/Containerfile +++ b/packages/py-trove-classifiers/Containerfile @@ -24,7 +24,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR trove-classifiers-${VERSION} +WORKDIR /trove-classifiers-${VERSION} RUN gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-typing-extensions/Containerfile b/packages/py-typing-extensions/Containerfile index 9f52182..d28022d 100644 --- a/packages/py-typing-extensions/Containerfile +++ b/packages/py-typing-extensions/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/py-setuptools . / COPY --from=stagex/py-gpep517 . / COPY --from=stagex/py-installer . / RUN tar -xzf ${SRC_FILE} -WORKDIR typing_extensions-${VERSION} +WORKDIR /typing_extensions-${VERSION} RUN --network=none gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-urllib3/Containerfile b/packages/py-urllib3/Containerfile index 908c048..d52f98d 100644 --- a/packages/py-urllib3/Containerfile +++ b/packages/py-urllib3/Containerfile @@ -20,7 +20,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR urllib3-${VERSION} +WORKDIR /urllib3-${VERSION} RUN --network=none gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-wcwidth/Containerfile b/packages/py-wcwidth/Containerfile index 2e43ee5..470ecb3 100644 --- a/packages/py-wcwidth/Containerfile +++ b/packages/py-wcwidth/Containerfile @@ -20,7 +20,7 @@ COPY --from=stagex/py-flit . / COPY --from=stagex/py-wheel . / COPY --from=stagex/py-gpep517 . / RUN tar -xzf ${SRC_FILE} -WORKDIR wcwidth-${VERSION} +WORKDIR /wcwidth-${VERSION} RUN --network=none gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 FROM build AS install diff --git a/packages/py-wheel/Containerfile b/packages/py-wheel/Containerfile index 5f5fa4c..c09bfbe 100644 --- a/packages/py-wheel/Containerfile +++ b/packages/py-wheel/Containerfile @@ -14,7 +14,7 @@ COPY --from=stagex/python . / COPY --from=stagex/py-setuptools . / COPY --from=stagex/zlib . / RUN tar -xzf ${SRC_FILE} -WORKDIR wheel-${VERSION} +WORKDIR /wheel-${VERSION} RUN --network=none <<-EOF set -eu python setup.py install --root=/rootfs diff --git a/packages/python/Containerfile b/packages/python/Containerfile index fe8c7ec..4098099 100644 --- a/packages/python/Containerfile +++ b/packages/python/Containerfile @@ -20,7 +20,7 @@ COPY --from=stagex/ncurses . / COPY --from=stagex/sqlite3 . / COPY --from=stagex/libffi . / RUN tar -xf ${SRC_FILE} -WORKDIR Python-${VERSION} +WORKDIR //Python-${VERSION} ENV SOURCE_DATE_EPOCH=1 ENV PYTHONHASHSEED=0 ENV PYTHONDONTWRITEBYTECODE=1 diff --git a/packages/qemu/Containerfile b/packages/qemu/Containerfile index b3ea659..f386e1f 100644 --- a/packages/qemu/Containerfile +++ b/packages/qemu/Containerfile @@ -70,7 +70,7 @@ COPY --from=stagex/musl-fts . / COPY --from=stagex/musl-obstack . / COPY --from=stagex/linux-headers . / RUN tar -xf ${SRC_FILE} -WORKDIR qemu-${VERSION} +WORKDIR /qemu-${VERSION} ADD *.patch . ENV SOURCE_DATE_EPOCH=1 ENV LDFLAGS=" \ diff --git a/packages/re2c/Containerfile b/packages/re2c/Containerfile index 452ab52..1126f3d 100644 --- a/packages/re2c/Containerfile +++ b/packages/re2c/Containerfile @@ -20,7 +20,7 @@ COPY --from=stagex/make . / COPY --from=stagex/m4 . / COPY --from=stagex/musl . / RUN tar -xvf $SRC_FILE -WORKDIR re2c-${VERSION} +WORKDIR /re2c-${VERSION} RUN --network=none <<-EOF set -eux autoreconf -i -W all diff --git a/packages/readline/Containerfile b/packages/readline/Containerfile index cf9e93e..26af61b 100644 --- a/packages/readline/Containerfile +++ b/packages/readline/Containerfile @@ -39,7 +39,7 @@ COPY --from=stagex/musl . / COPY --from=stagex/make . / COPY --from=stagex/gcc . / RUN --network=none tar -xf ${SRC_FILE} -WORKDIR readline-${VERSION} +WORKDIR /readline-${VERSION} ADD *.patch . RUN --network=none <<-EOF set -eu diff --git a/packages/redis/Containerfile b/packages/redis/Containerfile index 4e91255..78738d2 100644 --- a/packages/redis/Containerfile +++ b/packages/redis/Containerfile @@ -17,7 +17,7 @@ COPY --from=stagex/pkgconf . / COPY --from=stagex/make . / COPY --from=stagex/openssl . / RUN tar -xf ${SRC_FILE} -WORKDIR redis-${VERSION} +WORKDIR /redis-${VERSION} ENV SOURCE_DATE_EPOCH=1 RUN make BUILD_TLS=yes all diff --git a/packages/rhash/Containerfile b/packages/rhash/Containerfile index 2f5d2d3..fd84e75 100644 --- a/packages/rhash/Containerfile +++ b/packages/rhash/Containerfile @@ -17,7 +17,7 @@ COPY --from=stagex/binutils . / COPY --from=stagex/make . / COPY --from=stagex/openssl . / RUN tar -xf ${SRC_FILE} -WORKDIR RHash-${VERSION} +WORKDIR /RHash-${VERSION} RUN --network=none <<-EOF set -eux ./configure \ diff --git a/packages/samurai/Containerfile b/packages/samurai/Containerfile index 8e7d6b4..7523b96 100644 --- a/packages/samurai/Containerfile +++ b/packages/samurai/Containerfile @@ -16,7 +16,7 @@ COPY --from=stagex/binutils . / COPY --from=stagex/make . / COPY --from=stagex/pkgconf . / RUN tar -xf ${SRC_FILE} -WORKDIR samurai-${VERSION} +WORKDIR /samurai-${VERSION} COPY *.patch . RUN --network=none <<-EOF set -eux diff --git a/packages/scdoc/Containerfile b/packages/scdoc/Containerfile index 75577e5..c9fce09 100644 --- a/packages/scdoc/Containerfile +++ b/packages/scdoc/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/busybox . / COPY --from=stagex/binutils . / COPY --from=stagex/make . / RUN tar -xf ${SRC_FILE} -WORKDIR scdoc-${VERSION} +WORKDIR /scdoc-${VERSION} RUN --network=none <<-EOF set -eux make PREFIX="/usr" -j "$(nproc)" diff --git a/packages/sdtool/Containerfile b/packages/sdtool/Containerfile index e994fbc..354d713 100644 --- a/packages/sdtool/Containerfile +++ b/packages/sdtool/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/linux-headers . / COPY --from=stagex/make . / COPY --from=stagex/musl . / RUN tar -xf ${SRC_FILE} -WORKDIR sdtool-${VERSION} +WORKDIR /sdtool-${VERSION} RUN --network=none make all FROM build AS install diff --git a/packages/sed/Containerfile b/packages/sed/Containerfile index bf05422..fea6a4e 100644 --- a/packages/sed/Containerfile +++ b/packages/sed/Containerfile @@ -14,7 +14,7 @@ COPY --from=stagex/binutils . / COPY --from=stagex/make . / COPY --from=stagex/musl . / RUN tar -xf sed-${VERSION}.tar.xz -WORKDIR sed-${VERSION} +WORKDIR /sed-${VERSION} RUN --network=none <<-EOF set -eux ./configure \ diff --git a/packages/skalibs/Containerfile b/packages/skalibs/Containerfile index eade0b5..4ce39b2 100644 --- a/packages/skalibs/Containerfile +++ b/packages/skalibs/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/busybox . / COPY --from=stagex/binutils . / COPY --from=stagex/make . / RUN tar -xf ${SRC_FILE} -WORKDIR skalibs-${VERSION} +WORKDIR /skalibs-${VERSION} RUN --network=none <<-EOF set -eux ./configure \ diff --git a/packages/sops/Containerfile b/packages/sops/Containerfile index eef98cd..983a3d8 100644 --- a/packages/sops/Containerfile +++ b/packages/sops/Containerfile @@ -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 sops-${VERSION} +WORKDIR /sops-${VERSION} ENV PWD=/home/user/sops-${VERSION} ENV GOPATH=${PWD}/cache/go ENV GOCACHE=${PWD}/cache/ diff --git a/packages/sqlite3/Containerfile b/packages/sqlite3/Containerfile index af48d1a..508300e 100644 --- a/packages/sqlite3/Containerfile +++ b/packages/sqlite3/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/tcl . / COPY --from=stagex/make . / COPY --from=stagex/musl . / RUN tar -xf ${SRC_FILE} -WORKDIR sqlite-vesion-${VERSION} +WORKDIR /sqlite-vesion-${VERSION} RUN --network=none <<-EOF set -eux ./configure \ diff --git a/packages/stage0/Containerfile b/packages/stage0/Containerfile index 3f4056b..a957ba8 100644 --- a/packages/stage0/Containerfile +++ b/packages/stage0/Containerfile @@ -43,19 +43,19 @@ COPY --from=build2 /rootfs/ /b COPY --from=build3 /rootfs/ /c FROM compare AS test1 -WORKDIR /a +WORKDIR //a RUN ["x86/bin/sha256sum","-c","/a/hashes.txt"] RUN ["x86/bin/sha256sum","-c","/b/hashes.txt"] RUN ["x86/bin/sha256sum","-c","/c/hashes.txt"] FROM compare AS test2 -WORKDIR /b +WORKDIR //b RUN ["x86/bin/sha256sum","-c","/a/hashes.txt"] RUN ["x86/bin/sha256sum","-c","/b/hashes.txt"] RUN ["x86/bin/sha256sum","-c","/c/hashes.txt"] FROM compare AS test3 -WORKDIR /c +WORKDIR //c RUN ["x86/bin/sha256sum","-c","/a/hashes.txt"] RUN ["x86/bin/sha256sum","-c","/b/hashes.txt"] RUN ["x86/bin/sha256sum","-c","/c/hashes.txt"] diff --git a/packages/stage1/Containerfile b/packages/stage1/Containerfile index 13ef7cd..7290c56 100644 --- a/packages/stage1/Containerfile +++ b/packages/stage1/Containerfile @@ -5,7 +5,7 @@ ENV SRC_HASH=0c268b19cf9f4eefdaf45dab64ac393ccf8ee43de58f0721624cab358044bf78 ARG CORES=1 FROM base AS fetch -WORKDIR distfiles +WORKDIR /distfiles ADD --checksum=sha256:${SRC_HASH} ${SRC_SITE}/${VERSION} live-bootstrap.tgz # Generate with: cat live-bootstrap/steps/*/sources | awk -F" " '{ printf("ADD --checksum=sha256:%s %s ./%s\n",$2,$1,$3) }' ADD --checksum=sha256:4681bcbb9c9298c506f6405a7deb62c54fc3b339d3239a8f36a5df83daaec94f https://mirrors.kernel.org/gnu/autoconf/autoconf-2.52.tar.bz2 ./ diff --git a/packages/stage2/Containerfile b/packages/stage2/Containerfile index fb2748a..6aaaeee 100644 --- a/packages/stage2/Containerfile +++ b/packages/stage2/Containerfile @@ -50,7 +50,7 @@ ENV BINUTILS_DIR ${HOME}/build-binutils ENV MUSL_DIR=${HOME}/build-musl FROM base AS fetch -WORKDIR ${HOME} +WORKDIR /${HOME} ADD --checksum=sha256:${LINUX_HASH} ${LINUX_SITE} . ADD --checksum=sha256:${MUSL_HASH} ${MUSL_SITE} . ADD --checksum=sha256:${BINUTILS_HASH} ${BINUTILS_SITE} . @@ -74,7 +74,7 @@ RUN --network=none <<-EOF EOF # Phase 1: Build cross binutils in build-binutils -WORKDIR ${BINUTILS_DIR} +WORKDIR /${BINUTILS_DIR} RUN --network=none <<-EOF set -eux ../binutils-${BINUTILS_VERSION}/configure \ @@ -96,7 +96,7 @@ RUN --network=none <<-EOF EOF # Phase 2: Prepare build sysroot -WORKDIR ${SYSROOT_DIR} +WORKDIR /${SYSROOT_DIR} RUN <<-EOF set -eux mkdir -p include @@ -106,7 +106,7 @@ RUN <<-EOF EOF # Phase 3: Build gcc (without libgcc) in build-gcc -WORKDIR ${GCC_DIR} +WORKDIR /${GCC_DIR} RUN --network=none <<-EOF set -eux ../gcc-${GCC_VERSION}/configure \ @@ -143,7 +143,7 @@ RUN --network=none <<-EOF EOF # Phase 4: Install musl libc headers to build-sysroot for use by libgcc -WORKDIR ${MUSL_DIR} +WORKDIR /${MUSL_DIR} RUN --network=none <<-EOF set -eux ../musl-${MUSL_VERSION}/configure \ @@ -155,11 +155,11 @@ RUN --network=none <<-EOF EOF # Phase 5: Compile libgcc -WORKDIR ${GCC_DIR} +WORKDIR /${GCC_DIR} RUN --network=none make MAKE="make enable_shared=no" all-target-libgcc # Phase 5: Compile musl libc and install to sysroot -WORKDIR ${MUSL_DIR} +WORKDIR /${MUSL_DIR} RUN --network=none <<-EOF set -eux make \ @@ -169,11 +169,11 @@ RUN --network=none <<-EOF EOF # Phase 6: Compile remaining gcc targets -WORKDIR ${GCC_DIR} +WORKDIR /${GCC_DIR} RUN make all # Phase 7: Generate linux headers -WORKDIR ${HOME}/linux-${LINUX_VERSION} +WORKDIR /${HOME}/linux-${LINUX_VERSION} RUN --network=none <<-EOF set -eux make ARCH=${TARGET_ARCH} headers @@ -184,7 +184,7 @@ RUN --network=none <<-EOF EOF FROM build AS install -WORKDIR ${HOME} +WORKDIR /${HOME} COPY --from=stagex/stage1 . /rootfs/ RUN <<-EOF set -eux diff --git a/packages/stage3/Containerfile b/packages/stage3/Containerfile index 762245d..6b85d19 100644 --- a/packages/stage3/Containerfile +++ b/packages/stage3/Containerfile @@ -58,7 +58,7 @@ ENV MAKE_DIR ${HOME}/build-make ENV GCC_DIR ${HOME}/build-gcc FROM base AS fetch -WORKDIR ${HOME} +WORKDIR /${HOME} ADD --checksum=sha256:${LINUX_HASH} ${LINUX_SITE} . ADD --checksum=sha256:${MUSL_HASH} ${MUSL_SITE} . ADD --checksum=sha256:${BUSYBOX_HASH} ${BUSYBOX_SITE} . @@ -81,7 +81,7 @@ RUN --network=none <<-EOF tar -kxzf ${MUSL_FILE} tar -kxzf ${MAKE_FILE} EOF -WORKDIR ${MUSL_DIR} +WORKDIR /${MUSL_DIR} RUN --network=none <<-EOF set -eux ../musl-${MUSL_VERSION}/configure \ @@ -90,7 +90,7 @@ RUN --network=none <<-EOF --host=${TARGET} make EOF -WORKDIR ${BINUTILS_DIR} +WORKDIR /${BINUTILS_DIR} RUN --network=none <<-EOF set -eux ../binutils-${BINUTILS_VERSION}/configure \ @@ -111,7 +111,7 @@ RUN --network=none <<-EOF --enable-deterministic-archives make -j$(nproc) EOF -WORKDIR ${MAKE_DIR} +WORKDIR /${MAKE_DIR} RUN --network=none <<-EOF set -eux ../make-${MAKE_VERSION}/configure \ @@ -123,7 +123,7 @@ RUN --network=none <<-EOF --disable-nls make -j$(nproc) EOF -WORKDIR ${GCC_DIR} +WORKDIR /${GCC_DIR} RUN --network=none <<-EOF set -eux cp ../*.tar.* ../gcc-${GCC_VERSION} @@ -151,7 +151,7 @@ RUN --network=none <<-EOF --enable-linker-build-id make -j$(nproc) EOF -WORKDIR ${BUSYBOX_DIR} +WORKDIR /${BUSYBOX_DIR} RUN --network=none <<-EOF set -eux setConfs=' @@ -194,7 +194,7 @@ RUN --network=none <<-EOF done make CROSS_COMPILE=${TARGET}- EOF -WORKDIR ${HOME}/linux-${LINUX_VERSION} +WORKDIR /${HOME}/linux-${LINUX_VERSION} RUN --network=none <<-EOF set -eux make ARCH=${ARCH} headers diff --git a/packages/strace/Containerfile b/packages/strace/Containerfile index bdfd6cb..cbf2d42 100644 --- a/packages/strace/Containerfile +++ b/packages/strace/Containerfile @@ -16,7 +16,7 @@ COPY --from=stagex/linux-headers . / COPY --from=stagex/make . / COPY --from=stagex/gcc . / RUN tar -xf ${SRC_FILE} -WORKDIR strace-${VERSION} +WORKDIR /strace-${VERSION} RUN --network=none <<-EOF set -ex ./configure \ diff --git a/packages/sxctl/Containerfile b/packages/sxctl/Containerfile index dab0084..95d59d1 100644 --- a/packages/sxctl/Containerfile +++ b/packages/sxctl/Containerfile @@ -11,11 +11,11 @@ FROM fetch AS build COPY --from=stagex/busybox . / COPY --from=stagex/go . / RUN tar -xf ${SRC_FILE} -WORKDIR sxctl/cmd/sxctl +WORKDIR /sxctl/cmd/sxctl RUN go build -o sxctl FROM build AS install -WORKDIR /rootfs +WORKDIR //rootfs RUN cp /sxctl/cmd/sxctl/sxctl . FROM stagex/filesystem AS package diff --git a/packages/syslinux/Containerfile b/packages/syslinux/Containerfile index 7ec684a..c11c9a4 100644 --- a/packages/syslinux/Containerfile +++ b/packages/syslinux/Containerfile @@ -17,7 +17,7 @@ COPY --from=stagex/musl . / COPY --from=stagex/util-linux . / COPY --from=stagex/linux-headers . / RUN tar -xf ${SRC_FILE} -WORKDIR syslinux-${VERSION} +WORKDIR /syslinux-${VERSION} COPY *.patch . RUN --network=none <<-EOF patch -p1 < fix-sysmacros.patch diff --git a/packages/talosctl/Containerfile b/packages/talosctl/Containerfile index 1ddd4f1..fde1246 100644 --- a/packages/talosctl/Containerfile +++ b/packages/talosctl/Containerfile @@ -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 talos-${VERSION} +WORKDIR /talos-${VERSION} RUN go get ./... FROM fetch AS build diff --git a/packages/tar/Containerfile b/packages/tar/Containerfile index c5f1a54..6be7815 100644 --- a/packages/tar/Containerfile +++ b/packages/tar/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/musl . / COPY --from=stagex/make . / COPY --from=stagex/gcc . / RUN tar -xf tar-${VERSION}.tar.xz -WORKDIR tar-${VERSION} +WORKDIR /tar-${VERSION} ENV FORCE_UNSAFE_CONFIGURE=1 RUN --network=none <<-EOF set -ex diff --git a/packages/tcl/Containerfile b/packages/tcl/Containerfile index d3c3446..7d71cd2 100644 --- a/packages/tcl/Containerfile +++ b/packages/tcl/Containerfile @@ -17,7 +17,7 @@ COPY --from=stagex/make . / COPY --from=stagex/musl . / COPY --from=stagex/gcc . / RUN tar -xzf ${SRC_FILE} -WORKDIR tcl${VERSION}/unix +WORKDIR /tcl${VERSION}/unix RUN --network=none <<-EOF ./configure \ --build=${ARCH}-linux-musl \ diff --git a/packages/texinfo/Containerfile b/packages/texinfo/Containerfile index e43c6ae..2432777 100644 --- a/packages/texinfo/Containerfile +++ b/packages/texinfo/Containerfile @@ -27,7 +27,7 @@ COPY --from=stagex/bash . / COPY --from=stagex/bash . / COPY --from=stagex/bash /bin/bash /bin/sh RUN tar -xf ${SRC_FILE} -WORKDIR texinfo-${VERSION} +WORKDIR /texinfo-${VERSION} RUN --network=none <<-EOF set -ex ./configure \ diff --git a/packages/tflint/Containerfile b/packages/tflint/Containerfile index b225336..5edf5ae 100644 --- a/packages/tflint/Containerfile +++ b/packages/tflint/Containerfile @@ -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 tflint-${VERSION} +WORKDIR /tflint-${VERSION} RUN go get ./... FROM fetch AS build diff --git a/packages/tofu/Containerfile b/packages/tofu/Containerfile index aecf520..bab1612 100644 --- a/packages/tofu/Containerfile +++ b/packages/tofu/Containerfile @@ -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 opentofu-${VERSION} +WORKDIR /opentofu-${VERSION} ENV PWD=/home/user/opentofu-${VERSION} ENV GOPATH=${PWD}/cache/go ENV GOCACHE=${PWD}/cache/ diff --git a/packages/tpm2-tools/Containerfile b/packages/tpm2-tools/Containerfile index 60cd01c..88d0ddc 100644 --- a/packages/tpm2-tools/Containerfile +++ b/packages/tpm2-tools/Containerfile @@ -26,7 +26,7 @@ COPY --from=stagex/m4 . / COPY --from=stagex/curl . / COPY --from=stagex/tpm2-tss . / RUN tar -xf ${SRC_FILE} -WORKDIR tpm2-tools-${VERSION} +WORKDIR /tpm2-tools-${VERSION} RUN --network=none <<-EOF set -eux printf "${VERSION}" > VERSION diff --git a/packages/tpm2-tss/Containerfile b/packages/tpm2-tss/Containerfile index 333576e..0c4295b 100644 --- a/packages/tpm2-tss/Containerfile +++ b/packages/tpm2-tss/Containerfile @@ -26,7 +26,7 @@ COPY --from=stagex/m4 . / COPY --from=stagex/curl . / COPY --from=stagex/json-c . / RUN tar -xf ${SRC_FILE} -WORKDIR tpm2-tss-${VERSION} +WORKDIR /tpm2-tss-${VERSION} RUN --network=none <<-EOF set -eux printf "${VERSION}" > VERSION diff --git a/packages/unixodbc/Containerfile b/packages/unixodbc/Containerfile index aee4f2c..0ee902c 100644 --- a/packages/unixodbc/Containerfile +++ b/packages/unixodbc/Containerfile @@ -22,7 +22,7 @@ COPY --from=stagex/make . / COPY --from=stagex/libtool . / COPY --from=stagex/postgresql . / RUN tar -xf $SRC_FILE -WORKDIR unixODBC-${VERSION} +WORKDIR /unixODBC-${VERSION} RUN --network=none <<-EOF set -eux ./configure \ diff --git a/packages/util-linux/Containerfile b/packages/util-linux/Containerfile index 3ce056a..2be44c3 100644 --- a/packages/util-linux/Containerfile +++ b/packages/util-linux/Containerfile @@ -24,7 +24,7 @@ COPY --from=stagex/m4 . / COPY --from=stagex/make . / RUN mkdir util-linux RUN tar -xvf $SRC_FILE --strip-components=1 -C util-linux -WORKDIR util-linux +WORKDIR /util-linux RUN --network=none <<-EOF set -eux ./autogen.sh diff --git a/packages/util-macros/Containerfile b/packages/util-macros/Containerfile index cb17b97..378281f 100644 --- a/packages/util-macros/Containerfile +++ b/packages/util-macros/Containerfile @@ -19,7 +19,7 @@ COPY --from=stagex/pkgconf . / COPY --from=stagex/m4 . / COPY --from=stagex/gawk . / RUN tar -xf ${SRC_FILE} -WORKDIR util-macros-${VERSION} +WORKDIR /util-macros-${VERSION} RUN --network=none <<-EOF set -eux ./configure \ diff --git a/packages/utmps/Containerfile b/packages/utmps/Containerfile index d11bc25..8e9e26e 100644 --- a/packages/utmps/Containerfile +++ b/packages/utmps/Containerfile @@ -16,7 +16,7 @@ COPY --from=stagex/binutils . / COPY --from=stagex/make . / COPY --from=stagex/skalibs . / RUN tar -xf ${SRC_FILE} -WORKDIR utmps-${VERSION} +WORKDIR /utmps-${VERSION} RUN --network=none <<-EOF set -eux ./configure \ diff --git a/packages/xmlto/Containerfile b/packages/xmlto/Containerfile index 82cabbe..ff0d094 100644 --- a/packages/xmlto/Containerfile +++ b/packages/xmlto/Containerfile @@ -29,7 +29,7 @@ COPY --from=stagex/m4 . / COPY --from=stagex/libxml2 . / COPY --from=stagex/make . / RUN tar -xf ${SRC_FILE} -WORKDIR xmlto-${VERSION} +WORKDIR /xmlto-${VERSION} RUN --network=none <<-EOF set -eux autoreconf -vfi diff --git a/packages/xorriso/Containerfile b/packages/xorriso/Containerfile index 03a4e91..3533192 100644 --- a/packages/xorriso/Containerfile +++ b/packages/xorriso/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/make . / COPY --from=stagex/musl . / COPY --from=stagex/linux-headers . / RUN tar -xf ${SRC_FILE} -WORKDIR xorriso-${VERSION} +WORKDIR /xorriso-${VERSION} RUN --network=none <<-EOF set -eux ./configure \ diff --git a/packages/xz/Containerfile b/packages/xz/Containerfile index 130adda..7274f3d 100644 --- a/packages/xz/Containerfile +++ b/packages/xz/Containerfile @@ -22,7 +22,7 @@ COPY --from=stagex/libtool . / COPY --from=stagex/gettext . / COPY --from=stagex/po4a . / RUN tar -xf ${SRC_FILE} -WORKDIR xz-${VERSION} +WORKDIR /xz-${VERSION} RUN --network=none <<-EOF set -ex ./autogen.sh diff --git a/packages/yq/Containerfile b/packages/yq/Containerfile index fa2895d..a5246e0 100644 --- a/packages/yq/Containerfile +++ b/packages/yq/Containerfile @@ -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 yq-${VERSION} +WORKDIR /yq-${VERSION} RUN go get ./... FROM fetch AS build diff --git a/packages/zig/Containerfile b/packages/zig/Containerfile index 19a17e7..0164515 100644 --- a/packages/zig/Containerfile +++ b/packages/zig/Containerfile @@ -23,7 +23,7 @@ COPY --from=stagex/openssl . / COPY --from=stagex/zlib . / RUN --network=none tar -xf ${SRC_FILE} -WORKDIR zig-${VERSION} +WORKDIR /zig-${VERSION} RUN --network=none patch -p1 -i ../static-glibc.patch RUN --network=none <<-EOF set -eux diff --git a/packages/zip/Containerfile b/packages/zip/Containerfile index 32c0596..3d49998 100644 --- a/packages/zip/Containerfile +++ b/packages/zip/Containerfile @@ -15,7 +15,7 @@ COPY --from=stagex/cmake . / COPY --from=stagex/musl . / COPY --from=stagex/make . / RUN --network=none tar -xf ${SRC_FILE} -WORKDIR zip${VERSION} +WORKDIR /zip${VERSION} ENV SOURCE_DATE_EPOCH=1 RUN --network=none <<-EOF set -eux diff --git a/packages/zlib/Containerfile b/packages/zlib/Containerfile index 78f1910..17bd695 100644 --- a/packages/zlib/Containerfile +++ b/packages/zlib/Containerfile @@ -14,7 +14,7 @@ COPY --from=stagex/binutils . / COPY --from=stagex/make . / COPY --from=stagex/musl . / RUN tar -xf ${SRC_FILE} -WORKDIR zlib-${VERSION} +WORKDIR /zlib-${VERSION} RUN --network=none <<-EOF set -eux; \ ./configure \