mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 17:12:16 +03:00
Reduce amount layers of the docker image (#4448)
* Reduce amount layers of the docker image * Fix models file name
This commit is contained in:
Regular → Executable
+6
-4
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/execlineb -S1
|
||||
if { s6-test ${1} -ne 0 }
|
||||
if { s6-test ${1} -ne 256 }
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
# Take down the S6 supervision tree when the process fails
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
if [[ "${1}" -ne 0 && "${1}" -ne 256 ]]; then
|
||||
exec s6-svscanctl -t /var/run/s6/services
|
||||
fi
|
||||
|
||||
Regular → Executable
+4
-2
@@ -1,2 +1,4 @@
|
||||
#!/usr/bin/execlineb -P
|
||||
/usr/local/nginx/sbin/nginx
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
exec nginx
|
||||
|
||||
Reference in New Issue
Block a user