2025-04-28 22:18:44 +12:00

19 lines
327 B
Docker

FROM alpine:latest
RUN apk add --no-cache \
build-base \
cmake \
git \
ncurses-dev \
pkgconfig \
tbb-dev \
xxhash-dev
WORKDIR /app
COPY . .
RUN rm -rf build
CMD ["/bin/bash","-c","cmake .. -DCMAKE_BUILD_TYPE=Release && make -j4 && cp build/dropshell /output/ && chmod a+rwx /output/dropshell"]