lokinet/docker/compose/compose-base.Dockerfile
2019-08-19 23:25:46 +01:00

17 lines
380 B
Docker

ARG LOKINET_NETID=docker
FROM alpine:edge as builder
RUN apk update && \
apk add build-base cmake git libcap-dev libcap-static libuv-dev libuv-static curl ninja bash binutils-gold
WORKDIR /src/
COPY . /src/
RUN make NINJA=ninja STATIC_LINK=ON BUILD_TYPE=Release
FROM alpine:latest
COPY --from=builder /src/build/lokinet /
COPY --from=builder /src/build/lokinet-rcutil /