This commit is contained in:
mantaohuang 2020-05-30 12:44:43 -04:00
parent 7875e203e0
commit ccd10794f6

View File

@ -16,8 +16,9 @@ RUN pip install -r docker_requirement.txt
FROM alpine:latest
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories && \
apk --no-cache add openvpn iptables ip6tables bash python3 shadow neovim 3proxy fping
apk --no-cache add openvpn iptables ip6tables bash python3 shadow neovim 3proxy fping tini
COPY --from=python-builder /mop /mop
COPY --from=go-builder /ovpn-lb-socks5/go-socks-lb/go-socks-lb /mop/go-socks-lb
ENTRYPOINT ["/sbin/tini", "--"]
CMD /mop/docker-entrypoint.sh