hetzner-storagebox-exporter/Dockerfile
Varakh 9a6dcc8083
All checks were successful
/ build (push) Successful in 42s
Remove revision LABEL in OCI image, clean up pipeline
2024-11-19 12:58:03 +01:00

17 lines
580 B
Docker

FROM alpine:3
LABEL maintainer="Varakh <varakh@varakh.de>" \
description="hetzner-storagebox-exporter" \
org.opencontainers.image.authors="Varakh" \
org.opencontainers.image.vendor="Varakh" \
org.opencontainers.image.title="hetzner-storagebox-exporter" \
org.opencontainers.image.description="hetzner-storagebox-exporter" \
org.opencontainers.image.base.name="alpine:3"
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