From 81ecb596d4f1e40d0b0882a4c70c92a1eea44b4e Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 16 May 2017 00:53:39 +0200 Subject: [PATCH] Modifiy for new handling (#61) --- check_config/Dockerfile | 3 +-- check_config/config.json | 2 +- duckdns/Dockerfile | 3 +-- duckdns/config.json | 2 +- letsencrypt/Dockerfile | 5 ++--- letsencrypt/config.json | 2 +- mosquitto/Dockerfile | 3 +-- mosquitto/config.json | 2 +- samba/Dockerfile | 3 +-- samba/config.json | 2 +- ssh/Dockerfile | 4 ++-- ssh/config.json | 2 +- ssh/motd | 7 +++++++ 13 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 ssh/motd diff --git a/check_config/Dockerfile b/check_config/Dockerfile index fab0ef5..b110f62 100644 --- a/check_config/Dockerfile +++ b/check_config/Dockerfile @@ -1,7 +1,6 @@ FROM %%BASE_IMAGE%% -# Add version -ENV VERSION %%VERSION%% +# Add env ENV LANG C.UTF-8 # Setup base diff --git a/check_config/config.json b/check_config/config.json index 48a7e59..910485d 100644 --- a/check_config/config.json +++ b/check_config/config.json @@ -1,6 +1,6 @@ { "name": "Check HomeAssistant config", - "version": "0.2", + "version": "0.3", "slug": "check_config", "description": "Check HomeAssistant config with a new version", "url": "https://home-assistant.io/addons/check_config/", diff --git a/duckdns/Dockerfile b/duckdns/Dockerfile index 0a6936b..e860e7f 100644 --- a/duckdns/Dockerfile +++ b/duckdns/Dockerfile @@ -1,7 +1,6 @@ FROM %%BASE_IMAGE%% -# Add version -ENV VERSION %%VERSION%% +# Add env ENV LANG C.UTF-8 # Setup base diff --git a/duckdns/config.json b/duckdns/config.json index 0d056ab..4ef3412 100644 --- a/duckdns/config.json +++ b/duckdns/config.json @@ -1,6 +1,6 @@ { "name": "Duck DNS", - "version": "0.3", + "version": "0.4", "slug": "duckdns", "description": "Free dynamic DNS hosted on Amazon VPC", "url": "https://home-assistant.io/addons/duckdns/", diff --git a/letsencrypt/Dockerfile b/letsencrypt/Dockerfile index 090e48b..4b42bb6 100644 --- a/letsencrypt/Dockerfile +++ b/letsencrypt/Dockerfile @@ -1,11 +1,10 @@ FROM %%BASE_IMAGE%% -# Add version -ENV VERSION %%VERSION%% +# Add env ENV LANG C.UTF-8 # Setup base -RUN apk add --no-cache jq certbot +RUN apk add --no-cache jq certbot # Copy data COPY run.sh / diff --git a/letsencrypt/config.json b/letsencrypt/config.json index e7d9d43..92434a7 100644 --- a/letsencrypt/config.json +++ b/letsencrypt/config.json @@ -1,6 +1,6 @@ { "name": "Let's Encrypt", - "version": "0.5", + "version": "0.6", "slug": "letsencrypt", "description": "Manage Let's Encrypt certificate", "url": "https://home-assistant.io/addons/lets_encrypt/", diff --git a/mosquitto/Dockerfile b/mosquitto/Dockerfile index 7ad1760..521f67e 100644 --- a/mosquitto/Dockerfile +++ b/mosquitto/Dockerfile @@ -1,7 +1,6 @@ FROM %%BASE_IMAGE%% -# Add version -ENV VERSION %%VERSION%% +# Add env ENV LANG C.UTF-8 # Setup base diff --git a/mosquitto/config.json b/mosquitto/config.json index de473da..e5b4ef4 100644 --- a/mosquitto/config.json +++ b/mosquitto/config.json @@ -1,6 +1,6 @@ { "name": "Mosquitto broker", - "version": "0.5", + "version": "0.6", "slug": "mosquitto", "description": "An Open Source MQTT broker", "url": "https://home-assistant.io/addons/mosquitto/", diff --git a/samba/Dockerfile b/samba/Dockerfile index afb99e7..9c9f0a6 100644 --- a/samba/Dockerfile +++ b/samba/Dockerfile @@ -1,7 +1,6 @@ FROM %%BASE_IMAGE%% -# Add version -ENV VERSION %%VERSION%% +# Add env ENV LANG C.UTF-8 # Setup base diff --git a/samba/config.json b/samba/config.json index 84ce551..504b754 100644 --- a/samba/config.json +++ b/samba/config.json @@ -1,6 +1,6 @@ { "name": "Samba share", - "version": "0.3", + "version": "0.4", "slug": "samba", "description": "Expose HassIO folders with Samba", "url": "https://home-assistant.io/addons/samba/", diff --git a/ssh/Dockerfile b/ssh/Dockerfile index 19b46c9..42826e8 100644 --- a/ssh/Dockerfile +++ b/ssh/Dockerfile @@ -1,7 +1,6 @@ FROM %%BASE_IMAGE%% -# Add version -ENV VERSION %%VERSION%% +# Add env ENV LANG C.UTF-8 # Setup base @@ -9,6 +8,7 @@ RUN apk add --no-cache jq openssh vim # Copy data COPY run.sh / +COPY motd /etc/ RUN chmod a+x /run.sh diff --git a/ssh/config.json b/ssh/config.json index 26992e8..27dbfa6 100644 --- a/ssh/config.json +++ b/ssh/config.json @@ -1,6 +1,6 @@ { "name": "SSH server", - "version": "0.5", + "version": "0.6", "slug": "ssh", "description": "Connect to your server over SSH", "url": "https://home-assistant.io/addons/ssh/", diff --git a/ssh/motd b/ssh/motd new file mode 100644 index 0000000..b5d41ce --- /dev/null +++ b/ssh/motd @@ -0,0 +1,7 @@ + + _ _ _____ ____ + | | | | |_ _/ __ \ + | |__| | __ _ ___ ___ | || | | | + | __ |/ _` / __/ __| | || | | | + | | | | (_| \__ \__ \_ _| || |__| | + |_| |_|\__,_|___/___(_)_____\____/