mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-04-16 22:05:15 +01:00
Initial add of cups add-on
This commit is contained in:
37
cups/Dockerfile
Normal file
37
cups/Dockerfile
Normal file
@@ -0,0 +1,37 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user