mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
⬆️ 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:
parent
63eb05ccd8
commit
8f29272815
8 changed files with 15 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64:5.3.1
|
||||
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64:6.0.0
|
||||
# hadolint ignore=DL3006
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
|
@ -36,7 +36,7 @@ RUN \
|
|||
net-tools=1.60+git20181103.0eebece-1 \
|
||||
nmap=7.91+dfsg1+really7.80+dfsg1-2 \
|
||||
openssh-client=1:8.4p1-5 \
|
||||
openssl=1.1.1n-0+deb11u1 \
|
||||
openssl=1.1.1n-0+deb11u2 \
|
||||
python3-dev=3.9.2-3 \
|
||||
python3=3.9.2-3 \
|
||||
unzip=6.0-26 \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
build_from:
|
||||
aarch64: ghcr.io/hassio-addons/debian-base/aarch64:5.3.1
|
||||
amd64: ghcr.io/hassio-addons/debian-base/amd64:5.3.1
|
||||
aarch64: ghcr.io/hassio-addons/debian-base/aarch64:6.0.0
|
||||
amd64: ghcr.io/hassio-addons/debian-base/amd64:6.0.0
|
||||
codenotary:
|
||||
base_image: codenotary@frenck.dev
|
||||
signer: codenotary@frenck.dev
|
||||
|
|
2
vscode/rootfs/etc/cont-init.d/code-server.sh
Normal file → Executable file
2
vscode/rootfs/etc/cont-init.d/code-server.sh
Normal file → Executable 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
2
vscode/rootfs/etc/cont-init.d/mosquitto.sh
Normal file → Executable 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
2
vscode/rootfs/etc/cont-init.d/mysql.sh
Normal file → Executable 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
2
vscode/rootfs/etc/cont-init.d/user.sh
Normal file → Executable 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
10
vscode/rootfs/etc/services.d/code/finish
Normal file → Executable 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
2
vscode/rootfs/etc/services.d/code/run
Normal file → Executable 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue