Added files

This commit is contained in:
saundersp
2023-05-07 19:51:43 +02:00
parent 6f9f33a36e
commit a90aca8c5b
7 changed files with 865 additions and 0 deletions

22
Dockerfile Normal file
View File

@ -0,0 +1,22 @@
FROM alpine:3.17.1
RUN apk add make g++
WORKDIR /home/saundersp/sorting_algorithms
RUN adduser \
--disabled-password \
--gecos '' \
--home "$(pwd)" \
--no-create-home \
saundersp
COPY . .
RUN chown -R saundersp /home/saundersp/sorting_algorithms
USER saundersp
RUN make -j $NPROC
ENTRYPOINT ["bin/data"]