Compare commits

...
3 changed files with 6 additions and 10 deletions

No files matched your search

+4 -8
View File
@@ -1,18 +1,14 @@
ARG BUILD_FROM=jc21/nginx-proxy-manager:latest ARG BUILD_FROM=jc21/nginx-proxy-manager:latest
FROM ${BUILD_FROM} FROM ${BUILD_FROM}
# NPM is Debian-based; install jq for options parsing + stub with-contenv if absent # NPM is Debian-based; install jq for options parsing and ensure bash is present.
# hadolint ignore=DL3008 # hadolint ignore=DL3008
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends jq \ && apt-get install -y --no-install-recommends bash jq \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/*
&& if ! command -v with-contenv >/dev/null 2>&1; then \
printf '#!/usr/bin/env bash\nexec "$@"\n' > /usr/bin/with-contenv \
&& chmod +x /usr/bin/with-contenv; \
fi
COPY run.sh /npm-addon-init.sh COPY run.sh /npm-addon-init.sh
RUN chmod +x /npm-addon-init.sh RUN chmod 0755 /npm-addon-init.sh
ARG BUILD_VERSION ARG BUILD_VERSION
LABEL \ LABEL \
+1 -1
View File
@@ -1,7 +1,7 @@
name: "Nginx Proxy Manager + Static Web Server" name: "Nginx Proxy Manager + Static Web Server"
slug: nginx_webserver_proxy slug: nginx_webserver_proxy
description: "Nginx Proxy Manager with a built-in configurable static file server. Manage reverse proxies via NPM UI on port 81 while serving files from HA storage on port 80." description: "Nginx Proxy Manager with a built-in configurable static file server. Manage reverse proxies via NPM UI on port 81 while serving files from HA storage on port 80."
version: "2.14.0" version: "2.14.1"
url: "https://github.com/alexbelgium/hassio-addons/tree/master/nginx_webserver_proxy" url: "https://github.com/alexbelgium/hassio-addons/tree/master/nginx_webserver_proxy"
arch: arch:
- amd64 - amd64
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/bin/bash
# shellcheck shell=bash # shellcheck shell=bash
set -Eeuo pipefail set -Eeuo pipefail