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