lokinet/docker/compose/compose-base.Dockerfile

17 lines
391 B
Docker
Raw Normal View History

2019-08-12 19:13:42 +00:00
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
2019-10-06 20:51:19 +00:00
COPY --from=builder /src/build/daemon/lokinet /
2019-10-07 10:15:45 +00:00
COPY --from=builder /src/build/daemon/lokinet-ctl /