1
0
mirror of synced 2026-03-21 19:49:59 +01:00
Files
hassio-addons/hpessa/Dockerfile
2026-02-05 20:25:46 +01:00

30 lines
620 B
Docker

ARG BUILD_FROM
FROM ${BUILD_FROM}
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ENV DEBIAN_FRONTEND noninteractive
RUN ( \
apt-get update && \
apt-get install -y --no-install-recommends \
curl \
gnupg \
libnginx-mod-http-lua \
luarocks \
nginx \
procps \
\
&& luarocks install lua-resty-http \
)
COPY ssa-5.30-6.0_amd64.deb /ssa_amd64.deb
RUN apt-get install -y /ssa_amd64.deb
COPY rootfs /
# Corrects permissions
RUN if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi
RUN chmod -R 755 /nginx.sh
RUN chmod -R 755 /usr/bin/firefox