feat: init
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2024-04-30 09:12:09 +02:00
commit 853378b46d
4 changed files with 59 additions and 0 deletions

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM alpine:3.18
COPY . .
RUN apk add --no-cache gcc musl-dev && \
gcc -shared -fPIC -Wall -Wextra -Werror numcpu_override.c -o numcpu_override.so -ldl
FROM alpine:3.18
COPY /copy.sh /
COPY --from=0 numcpu_override.so /
ENTRYPOINT ["/copy.sh"]