mirror of
https://github.com/outbackdingo/parodus.git
synced 2026-01-28 02:20:02 +00:00
19 lines
384 B
Docker
19 lines
384 B
Docker
# build stage
|
|
FROM alpine:3.12
|
|
|
|
RUN \
|
|
apk add --no-cache bsd-compat-headers linux-headers cmake autoconf make musl-dev gcc g++ openssl openssl-dev git cunit cunit-dev automake libtool util-linux-dev && \
|
|
mkdir -p build
|
|
|
|
|
|
COPY src src
|
|
COPY patches patches
|
|
COPY tests tests
|
|
COPY CMakeLists.txt .
|
|
COPY run.sh .
|
|
|
|
|
|
RUN cd build && \
|
|
cmake .. && make
|
|
|
|
CMD ["build/src/parodus"] |