diff --git a/spotweb/CHANGELOG.md b/spotweb/CHANGELOG.md index eba0b3d03..7e1f1116b 100644 --- a/spotweb/CHANGELOG.md +++ b/spotweb/CHANGELOG.md @@ -1,2 +1,5 @@ + +## 1.5.1 (22-01-2022) +- Update to latest version from spotweb/spotweb ## [0.0.1] - Initial version \ No newline at end of file diff --git a/spotweb/Dockerfile b/spotweb/Dockerfile index d10d4bce7..80f82a5a1 100644 --- a/spotweb/Dockerfile +++ b/spotweb/Dockerfile @@ -95,8 +95,8 @@ ARG BUILD_VERSION ARG MODULES="00-banner.sh" # Automatic modules download -RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \ - && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \ +RUN if ! command -v bash >/dev/"1.5.1" 2>/dev/"1.5.1"; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/"1.5.1"; fi \ + && if ! command -v curl >/dev/"1.5.1" 2>/dev/"1.5.1"; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/"1.5.1"; fi \ && mkdir -p /etc/cont-init.d \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \ && chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE @@ -105,8 +105,8 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get ENV PACKAGES="" # Automatic apps & bashio -RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \ - && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \ +RUN if ! command -v bash >/dev/"1.5.1" 2>/dev/"1.5.1"; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/"1.5.1"; fi \ + && if ! command -v curl >/dev/"1.5.1" 2>/dev/"1.5.1"; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/"1.5.1"; fi \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \ && chmod 777 /automatic_packages.sh \ && eval /./automatic_packages.sh "${PACKAGES:-}" \ diff --git a/spotweb/config.json b/spotweb/config.json index dea1cf787..8c91a3ae3 100644 --- a/spotweb/config.json +++ b/spotweb/config.json @@ -1,8 +1,12 @@ { - "arch": ["aarch64", "amd64", "armv7"], + "arch": [ + "aarch64", + "amd64", + "armv7" + ], "name": "Spotweb by @woutercoppens", "image": "ghcr.io/alexbelgium/spotweb-{arch}", - "version": "dev", + "version": "1.5.1", "slug": "spotweb", "description": "Spotweb is a decentralized usenet community based on the Spotnet protocol", "url": "https://github.com/alexbelgium/hassio-addons/spotweb", @@ -11,14 +15,22 @@ "ingress_port": 8099, "panel_icon": "mdi:chart-timeline", "panel_title": "Spotweb", - "map": ["ssl", "config:rw", "backup:rw"], + "map": [ + "ssl", + "config:rw", + "backup:rw" + ], "options": { "ssl": false, "certfile": "fullchain.pem", "keyfile": "privkey.pem" }, - "ports": { "80/tcp": null }, - "ports_description": { "80/tcp": "Not required for Ingress" }, + "ports": { + "80/tcp": "1.5.1" + }, + "ports_description": { + "80/tcp": "Not required for Ingress" + }, "schema": { "remote_mysql_host": "str?", "remote_mysql_database": "str?", @@ -30,7 +42,9 @@ "keyfile": "str", "ssl": "bool" }, - "services": ["mysql:want"], + "services": [ + "mysql:want" + ], "startup": "services", "hassio_api": true }