speed up cmake, rustc, openvpn

This commit is contained in:
2026-02-20 12:45:31 +01:00
parent 38c3ec542b
commit 9f9c5b7c9c
22 changed files with 156 additions and 46 deletions

19
docker.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
set -xe
cmake --build build -j 12
cat << EOF > Dockerfile
FROM debian:trixie-slim
RUN apt update -y && apt install -y --no-install-recommends gcc g++ libc6-dev ca-certificates
RUN apt remove -y --allow-remove-essential perl manpages-dev perl-base && apt autoremove -y
WORKDIR /app
CMD ["/bin/bash"]
EOF
docker build -t shrap .
rm Dockerfile
docker run --rm -it -v .:/app shrap