Added files
This commit is contained in:
22
Dockerfile
Normal file
22
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user