⬆️ Upgrades add-on base image to 6.0.0 (#466)

* ⬆️ Upgrades add-on base image to 6.0.0

* Bump openssl
This commit is contained in:
Franck Nijhof 2022-06-09 13:34:48 +02:00 committed by GitHub
parent 63eb05ccd8
commit 8f29272815
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 15 additions and 13 deletions

2
vscode/rootfs/etc/cont-init.d/code-server.sh Normal file → Executable file
View file

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bashio
#!/command/with-contenv bashio
# ==============================================================================
# Home Assistant Community Add-on: Studio Code Server
# Sets up code-server.

2
vscode/rootfs/etc/cont-init.d/mosquitto.sh Normal file → Executable file
View file

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bashio
#!/command/with-contenv bashio
# ==============================================================================
# Home Assistant Community Add-on: Studio Code Server
# Pre-configures the Mosquitto clients, if the service is available

2
vscode/rootfs/etc/cont-init.d/mysql.sh Normal file → Executable file
View file

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bashio
#!/command/with-contenv bashio
# ==============================================================================
# Home Assistant Community Add-on: Studio Code Server
# Pre-configures the MySQL clients, if the service is available

2
vscode/rootfs/etc/cont-init.d/user.sh Normal file → Executable file
View file

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bashio
#!/command/with-contenv bashio
# ==============================================================================
# Home Assistant Community Add-on: Studio Code Server
# Persists user settings and installs custom user packages.

10
vscode/rootfs/etc/services.d/code/finish Normal file → Executable file
View file

@ -1,9 +1,11 @@
#!/usr/bin/execlineb -S0
#!/command/with-contenv bashio
# ==============================================================================
# Home Assistant Community Add-on: Studio Code Server
# Take down the S6 supervision tree when the code server fails
# ==============================================================================
if { s6-test ${1} -ne 0 }
if { s6-test ${1} -ne 256 }
if [[ "${1}" -ne 0 ]] && [[ "${1}" -ne 256 ]]; then
bashio::log.warning "code-server crashed, halting add-on"
/run/s6/basedir/bin/halt
fi
s6-svscanctl -t /var/run/s6/services
bashio::log.info "code-server stopped, restarting..."

2
vscode/rootfs/etc/services.d/code/run Normal file → Executable file
View file

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bashio
#!/command/with-contenv bashio
# ==============================================================================
# Home Assistant Community Add-on: Studio Code Server
# Runs the code server