Files
homeassistant-addons/angry-ip-scanner/Dockerfile
2022-03-27 23:09:16 +02:00

30 lines
752 B
Docker

ARG BUILD_FROM=ghcr.io/home-assistant/amd64-base-debian:buster
FROM $BUILD_FROM
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Install Angry IP Scanner dependencies
RUN \
set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
iproute2 \
iputils-ping \
nginx \
novnc \
sqlite3 \
tigervnc-common \
tigervnc-standalone-server \
wget \
wmii \
xfonts-base \
xfonts-scalable \
openjdk-11-jre libswt-cairo-gtk-4-jni libswt-gtk-4-java\
&& rm -rf /var/lib/apt/lists/*
RUN wget https://github.com/angryip/ipscan/releases/download/3.8.2/ipscan_3.8.2_all.deb && \
dpkg -i ipscan_3.8.2_all.deb
COPY rootfs /