您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

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"]