sorting_algorithms/Dockerfile
2024-06-09 22:42:20 +02:00

17 lines
272 B
Docker

FROM alpine:3.20.0
RUN apk add --no-cache \
make=4.4.1-r2 \
g++=13.2.1_git20240309-r0 \
&& adduser --disabled-password saundersp
USER saundersp
WORKDIR /home/saundersp/sorting_algorithms
COPY *.cpp *.hpp Makefile ./
RUN make -j "$(nproc)"
ENTRYPOINT ["bin/data"]