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
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
RUN apt-get update \
&& apt-get install -y --no-install-recommends jq \
&& 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
&& apt-get install -y --no-install-recommends bash jq \
&& rm -rf /var/lib/apt/lists/*
COPY run.sh /npm-addon-init.sh
RUN chmod +x /npm-addon-init.sh
RUN chmod 0755 /npm-addon-init.sh
ARG BUILD_VERSION
LABEL \
+1 -1
View File
@@ -1,7 +1,7 @@
name: "Nginx Proxy Manager + Static Web Server"
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."
version: "2.14.0"
version: "2.14.1"
url: "https://github.com/alexbelgium/hassio-addons/tree/master/nginx_webserver_proxy"
arch:
- amd64
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
# shellcheck shell=bash
set -Eeuo pipefail