Commit Graph

35 Commits

Author SHA1 Message Date
Koushik Dutta
6184367c86 docker: Fix s6 clearing env variables 2022-10-02 18:01:04 -07:00
Koushik Dutta
a1ec1d528d docker: fix where env variables are defined 2022-10-02 17:02:46 -07:00
Koushik Dutta
badb6eb20c docker: wip 2022-08-22 10:40:23 -07:00
Koushik Dutta
a4dc568762 docker: fixup s6 script to not run on local installations 2022-08-22 09:33:58 -07:00
Ted Hong
09533b118e Add Avahi Support (#323)
* initial avahi support

This commit adds support for the Avahi advertiser with Scrypted. It also adds the s6 process supervisor to facilitate future service additions.

* universal s6

This commit attempts to fix the issue where Avahi doesn't start on non-x86_64 architectures.

* consistency updates

This commit updates the wording in certain s6 run files to be consistent.

* fix s6 overlay version argument

This commit fixes the S6_OVERLAY_VERSION argument being prematurely collected by moving it after the FROM command.

* correct shebangs

This commit corrects the shebangs of all s6 service scripts to register with s6 instead of just running under bash.

* register services with s6

This commit adds two empty files that correspond to the dbus and avahi services started by s6. Without these files, s6 does not initialize daemons to keep dbus and avahi running.

* fix permissions and shebangs

This commit fixes the permissions on the service scripts that s6 is responsible for starting. It also reverts the shebang back to bash because many script utilities aren't available when running under execlineb.

* organize added features by block

This commit organizes all added lines into separate blocks for both avahi and s6-overlay. Resolves some of koush's review comments on #323.
2022-08-22 08:31:36 -07:00
Koushik Dutta
f23395da1b docker: Include alsa 2022-02-07 20:26:05 -08:00
Koushik Dutta
4771a7a994 docker/gh-actions: specify base 2022-01-06 14:39:16 -08:00
Koushik Dutta
355e6fc0a5 docker: readd deps 2022-01-02 15:12:26 -08:00
Koushik Dutta
5529874243 docker: reduce layer 2021-12-29 19:38:54 -08:00
Koushik Dutta
ca20577f34 Update Dockerfile.common 2021-12-10 22:46:58 -08:00
Koushik Dutta
f664f641db Update Dockerfile.common 2021-12-10 18:44:00 -08:00
Koushik Dutta
7cff95c6a3 docker: add python3-opencv 2021-12-08 14:41:05 -08:00
Koushik Dutta
98229d46c6 docker: wtf 2021-12-07 18:02:27 -08:00
Koushik Dutta
9a104d5966 docker: python3-wheel 2021-12-07 17:39:44 -08:00
Koushik Dutta
f5b782c285 docker: matrix builds 2021-12-07 13:50:36 -08:00
Koushik Dutta
7c8f522b11 docker: matrix builds 2021-12-07 13:47:45 -08:00
Koushik Dutta
7b222a57c9 Merge branch 'main' of github.com:koush/scrypted into main 2021-12-07 10:54:59 -08:00
Koushik Dutta
f6ff614783 docker: pip upgrade 2021-12-07 00:51:03 -08:00
Koushik Dutta
c2f3e133d7 docker: quote envs 2021-12-06 23:34:47 -08:00
Koushik Dutta
6fca939d8d docker: nonroot install directory 2021-12-06 23:04:38 -08:00
Koushik Dutta
fbb21aba9d Merge branch 'main' of github.com:koush/scrypted into main 2021-12-06 22:38:13 -08:00
Koushik Dutta
d4df57bcfa docker: python3-setuptools 2021-12-06 22:38:08 -08:00
Koushik Dutta
9dc0e827b3 Merge branch 'main' of github.com:koush/scrypted into main 2021-12-06 22:37:16 -08:00
Koushik Dutta
0e4a1cd722 docker: setuptools 2021-12-06 22:37:12 -08:00
Koushik Dutta
ded86b3e78 Merge branch 'main' of github.com:koush/scrypted into main 2021-12-06 22:36:49 -08:00
Koushik Dutta
e244cfd38a docker: typing 2021-12-06 22:36:44 -08:00
Koushik Dutta
58ebccc0e6 Merge branch 'main' of github.com:koush/scrypted into main 2021-12-06 22:33:58 -08:00
Koushik Dutta
94b1512d46 docker: buster 2021-12-06 22:33:56 -08:00
Koushik Dutta
117c6b050b docker: python3.7 2021-12-06 22:33:35 -08:00
Koushik Dutta
338276562c server/sdk: backport to python3.7 2021-12-06 21:27:32 -08:00
Koushik Dutta
a6d60be8ae docker: separate layers 2021-12-05 22:31:07 -08:00
Koushik Dutta
7842080a1f docker: cleanup 2021-12-04 22:35:31 -08:00
Koushik Dutta
e5466943cd docker: more deps 2021-12-04 21:12:50 -08:00
Koushik Dutta
0113578f16 docker: more deps 2021-12-04 18:46:36 -08:00
Koushik Dutta
fd34ecbd62 docker: create subdirectoy. maybe move into submodule? 2021-12-04 12:37:49 -08:00