mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
download-as-tar-gz becomes 2.4x faster in docker segfaults on windows, so don't use it there does not affect fedora or gentoo, since zlib-ng is already system-default on those also adds a global-option to write list of successful binds to a textfile, for automation / smoketest purposes
16 lines
755 B
Makefile
16 lines
755 B
Makefile
self := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
|
|
|
|
all:
|
|
# build zlib-ng from source so we know how the sausage was made
|
|
# (still only doing the archs which are officially supported/tested)
|
|
|
|
podman build --arch amd64 -t localhost/cpp-zlibng-amd64:latest -f Dockerfile.zlibng .
|
|
podman run --arch amd64 --rm --log-driver=none -i localhost/cpp-zlibng-amd64:latest tar -cC/z . | tar -xv
|
|
|
|
podman build --arch arm64 -t localhost/cpp-zlibng-amd64:latest -f Dockerfile.zlibng .
|
|
podman run --arch arm64 --rm --log-driver=none -i localhost/cpp-zlibng-amd64:latest tar -cC/z . | tar -xv
|
|
|
|
sh:
|
|
@printf "\n\033[1;31mopening a shell in the most recently created docker image\033[0m\n"
|
|
docker run --rm -it --entrypoint /bin/ash `docker images -aq | head -n 1`
|