| 1234567891011121314151617181920212223242526 | ARG NM_VERSION=FROM gravitl/builder as builderRUN apk add --update git build-base libmnl-dev iptablesWORKDIR /root/RUN git clone https://git.zx2c4.com/wireguard-go && \    cd wireguard-go && \    make && \    make installENV WITH_WGQUICK=yesRUN git clone https://git.zx2c4.com/wireguard-tools && \    cd wireguard-tools && \    cd src && \    make && \    make installFROM gravitl/netmaker:${NM_VERSION}RUN apk add --no-cache --update bash libmnl iptables openresolv iproute2COPY --from=builder /usr/bin/wireguard-go /usr/bin/wg* /usr/bin/COPY scripts/netclient.sh ./entrypoint.shENTRYPOINT ["/bin/sh", "./entrypoint.sh"]
 |