mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-22 05:14:24 +01:00
Update New CLI (#500)
* Update New CLI * Fix shell * ssh: Include hassio bash completion (#501)
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 4
|
||||
## 5.0
|
||||
- Update Hass.io CLI to 2.0.1, include bash completion
|
||||
|
||||
## 4.0
|
||||
- Update Hass.io CLI to 1.4.0
|
||||
- Add new API role profile
|
||||
- Update OpenSSH to 7.7
|
||||
|
||||
@@ -21,12 +21,11 @@ ARG BUILD_ARCH
|
||||
ARG CLI_VERSION
|
||||
RUN apk add --no-cache curl \
|
||||
&& curl -Lso /usr/bin/hassio https://github.com/home-assistant/hassio-cli/releases/download/${CLI_VERSION}/hassio_${BUILD_ARCH} \
|
||||
&& chmod a+x /usr/bin/hassio
|
||||
&& chmod a+x /usr/bin/hassio \
|
||||
&& /usr/bin/hassio completion | sed "s/hassio-cli/hassio/g" > /usr/share/bash-completion/completions/hassio
|
||||
|
||||
# Copy data
|
||||
COPY run.sh /
|
||||
COPY motd /etc/
|
||||
|
||||
RUN chmod a+x /run.sh
|
||||
|
||||
CMD [ "/run.sh" ]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"args": {
|
||||
"CLI_VERSION": "1.4.0"
|
||||
"CLI_VERSION": "2.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "SSH server",
|
||||
"version": "4",
|
||||
"version": "5.0",
|
||||
"slug": "ssh",
|
||||
"description": "Allows connections over SSH",
|
||||
"url": "https://home-assistant.io/addons/ssh/",
|
||||
|
||||
0
ssh/run.sh
Normal file → Executable file
0
ssh/run.sh
Normal file → Executable file
Reference in New Issue
Block a user