Files
network-alpine/Dockerfile
T
Christian Klein b6fee88aeb Initial commit
2026-07-17 22:04:41 +02:00

17 lines
494 B
Docker

FROM alpine:latest
RUN apk add --no-cache curl wget git openssh bash vim nano socat bind-tools tcpdump python3 jq lldpd lighttpd iperf iperf3 lftp nmap fping pv
# Set environment variables for init script
ENV HTTP_SERVER_DISABLE=false
ENV HTTP_SERVER_PORT=80
RUN mkdir -p /docker-entrypoint-initdb.d
COPY --chown=root:root --chmod=755 src/init.sh /init.sh
# Additional files
COPY --chown=root:root --chmod=644 src/index.html /var/www/localhost/htdocs/index.html
ENTRYPOINT [ "/init.sh" ]