Merge pull request #125 from home-assistant/build

Build
This commit is contained in:
Pascal Vizeli
2017-06-21 14:44:23 +02:00
committed by GitHub
6 changed files with 6 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ FROM %%BASE_IMAGE%%
ENV LANG C.UTF-8
# Setup base
RUN apk add --no-cache tzdata jq dnsmasq
RUN apk add --no-cache jq dnsmasq
# Copy data
COPY run.sh /

View File

@@ -1,6 +1,6 @@
{
"name": "Dnsmasq server",
"version": "0.2",
"version": "0.3",
"slug": "dnsmasq",
"description": "A simple dns server with benefits",
"url": "https://home-assistant.io/addons/dnsmasq/",

View File

@@ -4,3 +4,4 @@ keep-in-foreground
log-queries
log-facility=-
no-poll
user=root

View File

@@ -4,7 +4,7 @@ FROM %%BASE_IMAGE%%
ENV LANG C.UTF-8
# Setup base
RUN apk add --no-cache tzdata jq curl
RUN apk add --no-cache jq curl
# Copy data
COPY run.sh /

View File

@@ -1,6 +1,6 @@
{
"name": "Duck DNS",
"version": "0.5",
"version": "0.6",
"slug": "duckdns",
"description": "Free dynamic DNS hosted on Amazon VPC",
"url": "https://home-assistant.io/addons/duckdns/",

View File

@@ -9,7 +9,7 @@ WAIT_TIME=$(jq --raw-output '.seconds' $CONFIG_PATH)
# Run duckdns
while true; do
ANSWER="$(curl -sk "https://www.duckdns.org/update?domains=$DOMAINS&token=$TOKEN&ip=&verbose=true")"
ANSWER="$(curl -sk "https://www.duckdns.org/update?domains=$DOMAINS&token=$TOKEN&ip=&verbose=true")" || true
echo "$(date): $ANSWER"
sleep "$WAIT_TIME"
done