This commit is contained in:
commit
853378b46d
4 changed files with 59 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue