hetzner-storagebox-exporter/Dockerfile

19 lines
634 B
Text
Raw Normal View History

2023-03-23 23:51:53 +00:00
FROM alpine:3
LABEL maintainer="Varakh <varakh@varakh.de>" \
description="hetzner-storagebox-exporter" \
org.opencontainers.image.authors="Varakh" \
org.opencontainers.image.revision="${REVISION}" \
org.opencontainers.image.vendor="Varakh" \
org.opencontainers.image.title="hetzner-storagebox-exporter" \
org.opencontainers.image.description="hetzner-storagebox-exporter" \
2023-08-17 19:24:45 +00:00
org.opencontainers.image.base.name="alpine:3"
2022-10-06 20:43:36 +00:00
RUN apk add --no-cache nmap-ncat openssl coreutils openssh
ADD check-storage.sh /check-storage.sh
ADD header.sh /header.sh
EXPOSE 80
CMD nc -lk -p 80 -e /header.sh /check-storage.sh