This repository was archived by the owner on Jan 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +8
-0
lines changed Expand file tree Collapse file tree 5 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ RUN \
100100 -Wno-dev && \
101101 make && \
102102 make install && \
103+ echo "**** set capabilities for domoticz binary ****" && \
104+ setcap cap_net_raw=+eip /var/lib/domoticz/domoticz && \
103105 echo "**** install BroadlinkRM2 plugin dependencies ****" && \
104106 git clone https://github.com/mjg59/python-broadlink.git /tmp/python-broadlink && \
105107 cd /tmp/python-broadlink && \
Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ RUN \
100100 -Wno-dev && \
101101 make && \
102102 make install && \
103+ echo "**** set capabilities for domoticz binary ****" && \
104+ setcap cap_net_raw=+eip /var/lib/domoticz/domoticz && \
103105 echo "**** install BroadlinkRM2 plugin dependencies ****" && \
104106 git clone https://github.com/mjg59/python-broadlink.git /tmp/python-broadlink && \
105107 cd /tmp/python-broadlink && \
Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ RUN \
100100 -Wno-dev && \
101101 make && \
102102 make install && \
103+ echo "**** set capabilities for domoticz binary ****" && \
104+ setcap cap_net_raw=+eip /var/lib/domoticz/domoticz && \
103105 echo "**** install BroadlinkRM2 plugin dependencies ****" && \
104106 git clone https://github.com/mjg59/python-broadlink.git /tmp/python-broadlink && \
105107 cd /tmp/python-broadlink && \
Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
226226
227227## Versions
228228
229+ * ** 29.10.19:** - Set capabilities for Domoticz binary so spawned processes can use sockets.
229230* ** 28.06.19:** - Rebasing to alpine 3.10. Add iputils for ping. Fix typo in readme. Fix permissions for custom icons.
230231* ** 30.03.19:** - Add env variable to set webroot.
231232* ** 23.03.19:** - Switching to new Base images, shift to arm32v7 tag.
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ app_setup_block: |
7575
7676# changelog
7777changelogs :
78+ - { date: "29.10.19:", desc: "Set capabilities for Domoticz binary so spawned processes can use sockets." }
7879 - { date: "28.06.19:", desc: "Rebasing to alpine 3.10. Add iputils for ping. Fix typo in readme. Fix permissions for custom icons." }
7980 - { date: "30.03.19:", desc: "Add env variable to set webroot." }
8081 - { date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag." }
You can’t perform that action at this time.
0 commit comments