diff --git a/Dockerfile b/Dockerfile index fffa592..6d52988 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM alpine:3.18 +FROM alpine:3.20 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 +FROM alpine:3.20 COPY /copy.sh / COPY --from=0 numcpu_override.so / ENTRYPOINT ["/copy.sh"]