2024-09-26 09:19:28 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
|
|
|
|
LABEL maintainer="development@cooltux.net"
|
2024-09-26 11:43:37 +00:00
|
|
|
ARG VERSION=16-20240927
|
2024-09-26 09:19:28 +00:00
|
|
|
|
|
|
|
# PostgreSQL-Client installieren
|
2024-09-26 09:36:41 +00:00
|
|
|
RUN apk update --no-cache ; \
|
2024-09-26 09:19:28 +00:00
|
|
|
apk add --no-cache postgresql16-client
|
|
|
|
|
|
|
|
# Arbeitsverzeichnis erstellen
|
|
|
|
WORKDIR /backup
|
|
|
|
|
|
|
|
# Entrypoint-Skript hinzufügen
|
|
|
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
|
|
|
|
|
|
|
# Skript ausführbar machen
|
|
|
|
RUN chmod +x /usr/local/bin/entrypoint.sh
|
|
|
|
|
|
|
|
# Festlegen des EntryPoints für das Docker-Image
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|