docker-numcpu_override/Dockerfile.debian
nyyu 3c96eae178
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: debian
2024-12-26 20:00:24 +01:00

9 lines
250 B
Text

FROM debian:stable
COPY . .
RUN apt update && apt install -y gcc && \
gcc -shared -fPIC -Wall -Wextra -Werror numcpu_override.c -o numcpu_override.so -ldl
FROM alpine:3.21
COPY /copy.sh /
COPY --from=0 numcpu_override.so /
ENTRYPOINT ["/copy.sh"]