mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-03-08 05:21:51 +00:00
38 lines
957 B
Docker
38 lines
957 B
Docker
ARG BUILD_FROM
|
|
FROM $BUILD_FROM
|
|
|
|
LABEL io.hass.version="1" io.hass.type="addon" io.hass.arch="armhf|aarch64|i386|amd64"
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
cups \
|
|
avahi-daemon \
|
|
libnss-mdns \
|
|
dbus \
|
|
colord \
|
|
printer-driver-all \
|
|
printer-driver-gutenprint \
|
|
openprinting-ppds \
|
|
hpijs-ppds \
|
|
hp-ppd \
|
|
hplip \
|
|
printer-driver-foo2zjs \
|
|
gnupg2 \
|
|
lsb-release \
|
|
nano \
|
|
samba \
|
|
bash-completion \
|
|
&& echo "deb http://nginx.org/packages/debian `lsb_release -cs` nginx" \
|
|
| tee /etc/apt/sources.list.d/nginx.list \
|
|
&& curl -fsSL https://nginx.org/keys/nginx_signing.key | apt-key add - \
|
|
&& apt-get update \
|
|
&& apt-get install nginx nginx-module-njs \
|
|
&& apt-get clean -y \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY rootfs /
|
|
|
|
EXPOSE 631 445 137 139
|
|
|
|
CMD ["/run.sh"]
|