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"]