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.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- FROM debian:buster AS builder
-
- RUN apt-get update && \
- DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -yq \
- ca-certificates \
- libmicrohttpd-dev \
- libudev-dev \
- git \
- gcc \
- g++ \
- make \
- && \
- apt-get clean && \
- rm -rf /var/lib/apt/lists/*
-
- WORKDIR /tmp/
-
- RUN git clone --depth 1 https://github.com/OpenZWave/open-zwave
-
- RUN git clone --depth 1 https://github.com/OpenZWave/open-zwave-control-panel
-
- WORKDIR /tmp/open-zwave/
-
- RUN make -j 10
-
- WORKDIR /tmp/open-zwave-control-panel/
-
- RUN mkdir config && make -j 10 dist
-
- FROM debian:buster
-
- RUN apt-get update && \
- DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -yq \
- libmicrohttpd12 \
- tar \
- gzip \
- && \
- apt-get clean && \
- rm -rf /var/lib/apt/lists/*
-
- COPY --from=builder /tmp/open-zwave-control-panel/ozwcp.tar.gz /tmp/
-
- WORKDIR /root/
-
- RUN tar xf /tmp/ozwcp.tar.gz
-
- CMD ["./ozwcp"]
|