You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

Dockerfile 985B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. FROM debian:buster AS builder
  2. RUN apt-get update && \
  3. DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -yq \
  4. ca-certificates \
  5. libmicrohttpd-dev \
  6. libudev-dev \
  7. git \
  8. gcc \
  9. g++ \
  10. make \
  11. && \
  12. apt-get clean && \
  13. rm -rf /var/lib/apt/lists/*
  14. WORKDIR /tmp/
  15. RUN git clone --depth 1 https://github.com/OpenZWave/open-zwave
  16. RUN git clone --depth 1 https://github.com/OpenZWave/open-zwave-control-panel
  17. WORKDIR /tmp/open-zwave/
  18. RUN make -j 10
  19. WORKDIR /tmp/open-zwave-control-panel/
  20. RUN mkdir config && make -j 10 dist
  21. FROM debian:buster
  22. RUN apt-get update && \
  23. DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -yq \
  24. libmicrohttpd12 \
  25. tar \
  26. gzip \
  27. && \
  28. apt-get clean && \
  29. rm -rf /var/lib/apt/lists/*
  30. COPY --from=builder /tmp/open-zwave-control-panel/ozwcp.tar.gz /tmp/
  31. WORKDIR /root/
  32. RUN tar xf /tmp/ozwcp.tar.gz
  33. CMD ["./ozwcp"]