mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-07 04:31:24 +00:00
Compare commits
No commits in common. "main" and "v5.18.0" have entirely different histories.
9 changed files with 21 additions and 22 deletions
|
@ -1,6 +1,6 @@
|
|||
# MIT License
|
||||
|
||||
Copyright (c) 2019-2025 Franck Nijhof
|
||||
Copyright (c) 2019-2024 Franck Nijhof
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -81,7 +81,7 @@ our [GitHub Repository][repository].
|
|||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019-2025 Franck Nijhof
|
||||
Copyright (c) 2019-2024 Franck Nijhof
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -122,7 +122,7 @@ SOFTWARE.
|
|||
[i386-shield]: https://img.shields.io/badge/i386-no-red.svg
|
||||
[issue]: https://github.com/hassio-addons/addon-vscode/issues
|
||||
[license-shield]: https://img.shields.io/github/license/hassio-addons/addon-vscode.svg
|
||||
[maintenance-shield]: https://img.shields.io/maintenance/yes/2025.svg
|
||||
[maintenance-shield]: https://img.shields.io/maintenance/yes/2024.svg
|
||||
[patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png
|
||||
[patreon]: https://www.patreon.com/frenck
|
||||
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
|
||||
|
|
|
@ -70,7 +70,7 @@ If you are more interested in stable releases of our add-ons:
|
|||
[forum]: https://community.home-assistant.io/t/home-assistant-community-add-on-visual-studio-code/107863?u=frenck
|
||||
[github-sponsors-shield]: https://frenck.dev/wp-content/uploads/2019/12/github_sponsor.png
|
||||
[github-sponsors]: https://github.com/sponsors/frenck
|
||||
[maintenance-shield]: https://img.shields.io/maintenance/yes/2025.svg
|
||||
[maintenance-shield]: https://img.shields.io/maintenance/yes/2024.svg
|
||||
[patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png
|
||||
[patreon]: https://www.patreon.com/frenck
|
||||
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
|
||||
|
|
|
@ -154,7 +154,7 @@ check [the contributor's page][contributors].
|
|||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019-2025 Franck Nijhof
|
||||
Copyright (c) 2019-2024 Franck Nijhof
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base:7.8.2
|
||||
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base:7.6.2
|
||||
# hadolint ignore=DL3006
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
|
@ -20,8 +20,8 @@ COPY vscode.extensions /root/vscode.extensions
|
|||
|
||||
# Setup base system
|
||||
ARG BUILD_ARCH=amd64
|
||||
ARG CODE_SERVER_VERSION="v4.99.4"
|
||||
ARG HA_CLI_VERSION="4.38.0"
|
||||
ARG CODE_SERVER_VERSION="v4.96.2"
|
||||
ARG HA_CLI_VERSION="4.36.0"
|
||||
# hadolint ignore=SC2181, DL3008
|
||||
RUN \
|
||||
apt-get update \
|
||||
|
@ -31,17 +31,16 @@ RUN \
|
|||
libarchive-tools=3.6.2-1+deb12u2 \
|
||||
build-essential=12.9 \
|
||||
colordiff=1.0.20-1 \
|
||||
git=1:2.39.5-0+deb12u2 \
|
||||
git=1:2.39.5-0+deb12u1 \
|
||||
iputils-ping=3:20221126-1+deb12u1 \
|
||||
locales=2.36-9+deb12u7 \
|
||||
mariadb-client=1:10.11.11-0+deb12u1 \
|
||||
mariadb-client=1:10.11.6-0+deb12u1 \
|
||||
mosquitto-clients=2.0.11-1.2+deb12u1 \
|
||||
net-tools=2.10-0.1 \
|
||||
nmap=7.93+dfsg1-1 \
|
||||
openssh-client=1:9.2p1-2+deb12u5 \
|
||||
openssh-client=1:9.2p1-2+deb12u3 \
|
||||
openssl=3.0.15-1~deb12u1 \
|
||||
python3-dev=3.11.2-1+b1 \
|
||||
python3-venv=3.11.2-1+b1 \
|
||||
python3=3.11.2-1+b1 \
|
||||
unzip=6.0-28 \
|
||||
uuid-runtime=2.38.1-5+deb12u1 \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
build_from:
|
||||
aarch64: ghcr.io/hassio-addons/debian-base:7.8.2
|
||||
amd64: ghcr.io/hassio-addons/debian-base:7.8.2
|
||||
aarch64: ghcr.io/hassio-addons/debian-base:7.6.2
|
||||
amd64: ghcr.io/hassio-addons/debian-base:7.6.2
|
||||
codenotary:
|
||||
base_image: codenotary@frenck.dev
|
||||
signer: codenotary@frenck.dev
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
esphome==2025.4.1
|
||||
yamllint==1.37.1
|
||||
esphome==2024.12.2
|
||||
yamllint==1.35.1
|
||||
|
|
|
@ -12,14 +12,14 @@ readonly ZSH_HISTORY_PERSISTANT_FILE=/data/.zsh_history
|
|||
|
||||
# Links some common directories to the user's home folder for convenience
|
||||
for dir in "${DIRECTORIES[@]}"; do
|
||||
ln -sn "/${dir}" "${HOME}/${dir}" \
|
||||
ln -s "/${dir}" "${HOME}/${dir}" \
|
||||
|| bashio::log.warning "Failed linking common directory: ${dir}"
|
||||
done
|
||||
|
||||
# Some links to old locations, to not mess with the user's muscle memory
|
||||
ln -sn "/config" "${HOME}/config" \
|
||||
ln -s "/config" "${HOME}/config" \
|
||||
|| bashio::log.warning "Failed linking common directory: ${HOME}/config"
|
||||
ln -sn "/config" "/homeassistant" \
|
||||
ln -s "/config" "/homeassistant" \
|
||||
|| bashio::log.warning "Failed linking common directory: /homeassistant"
|
||||
|
||||
# Store SSH settings in add-on data folder
|
||||
|
@ -31,7 +31,7 @@ if ! bashio::fs.directory_exists "${SSH_USER_PATH}"; then
|
|||
|| bashio::exit.nok \
|
||||
'Failed setting permissions on persistent .ssh folder'
|
||||
fi
|
||||
ln -sn "${SSH_USER_PATH}" ~/.ssh || bashio::log.warning "Failed linking .ssh"
|
||||
ln -s "${SSH_USER_PATH}" ~/.ssh
|
||||
|
||||
# Sets up ZSH shell
|
||||
touch "${ZSH_HISTORY_PERSISTANT_FILE}" \
|
||||
|
@ -58,7 +58,7 @@ if ! bashio::fs.file_exists "${GIT_USER_PATH}/.gitconfig"; then
|
|||
touch "${GIT_USER_PATH}/.gitconfig" \
|
||||
|| bashio::exit.nok 'Failed to create .gitconfig'
|
||||
fi
|
||||
ln -s "${GIT_USER_PATH}/.gitconfig" ~/.gitconfig || bashio::log.warning "Failed linking .gitconfig"
|
||||
ln -s "${GIT_USER_PATH}/.gitconfig" ~/.gitconfig
|
||||
|
||||
# Install user configured/requested packages
|
||||
if bashio::config.has_value 'packages'; then
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
emilast.LogFileHighlighter#3.4.0
|
||||
emilast.LogFileHighlighter#3.3.4
|
||||
esbenp.prettier-vscode#11.0.0
|
||||
ESPHome.esphome-vscode#2023.9.0
|
||||
keesschollaart.vscode-home-assistant#1.43.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue