move build system to cmake

This commit is contained in:
Nicholas Orlowsky 2024-05-10 06:09:40 -05:00
parent c31db4d2a8
commit 734e37de37
Signed by: nickorlow
GPG key ID: 838827D8C4611687
4 changed files with 21 additions and 53 deletions

View file

@ -1,8 +1,10 @@
FROM alpine as build-env
RUN apk add --no-cache build-base python3
RUN apk add --no-cache build-base python3 cmake
COPY ./src/ .
RUN make build-release
RUN rm -rf CMakeCache.txt CMakeFiles
RUN cmake -DCMAKE_BUILD_TYPE=Release .
RUN make anthracite-bin
FROM alpine
RUN apk add --no-cache build-base