2024-09-26 09:19:28 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
|
|
|
|
LABEL maintainer="development@cooltux.net"
|
2024-09-26 12:25:19 +00:00
|
|
|
ARG VERSION=16-20240926
|
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
|
|
|
|
|
2024-09-26 12:32:28 +00:00
|
|
|
USER 26
|
2024-09-26 12:21:26 +00:00
|
|
|
|
2024-09-26 12:32:28 +00:00
|
|
|
# Festlegen des EntryPoints für das Docker-Image
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|