-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
executable file
·40 lines (34 loc) · 1.02 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM jsurf/rpi-java
RUN [ "cross-build-start" ]
RUN apt-get update && apt-get install -y \
msmtp \
tcl \
tcllib \
libusb-1.0-0-dev \
supervisor \
lighttpd \
# unzip \
# rsyslog \
--no-install-recommends && \
rm -rf /var/lib/apt/lists/*
COPY HMserver /
COPY firmware/ /firmware/
COPY arm-gnueabihf/packages/lighttpd/ /
COPY arm-gnueabihf/packages-eQ-3/HS485D/ /
COPY arm-gnueabihf/packages-eQ-3/RFD/ /
COPY arm-gnueabihf/packages-eQ-3/WebUI/ /
COPY arm-gnueabihf/packages-eQ-3/LinuxBasis/ /
COPY WebUI/ /
COPY HMserver/ /
RUN ln -s / /opt/hm && \
rm -rf /usr/local/* && \
mkdir -p /usr/local/etc && \
mv /etc/config /usr/local/etc/ && \
ln -s /usr/local/etc/config /etc/config
COPY docker/supervisor/ /etc/supervisor/
COPY docker/VERSION /boot/
COPY docker/reboot /sbin/
VOLUME ["/usr/local"]
EXPOSE 80 90 443 2000 2001 2002 8001 8002 8181 4430 4431 4432 44381
CMD ["supervisord", "-c", "/etc/supervisor/supervisor.conf"]
RUN [ "cross-build-end" ]