mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-09-21 09:14:01 +02:00
Compare commits
8 Commits
c9dbead39c
...
fix/nginx-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
752ae829d3 | ||
|
|
c4b603ecf7 | ||
|
|
e62389edb9 | ||
|
|
44d9333915 | ||
|
|
d89a6be2fa | ||
|
|
96c2aa45e9 | ||
|
|
b7acd8fb97 | ||
|
|
b13081dec0 |
@@ -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,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,4 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
#!/bin/bash
|
||||
# shellcheck shell=bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
|
||||
Reference in New Issue
Block a user