docker-pg_dump-alpine/Dockerfile

22 lines
492 B
Docker
Raw Normal View History

2024-09-26 09:19:28 +00:00
FROM alpine:latest
LABEL maintainer="development@cooltux.net"
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
##
2024-09-26 09:19:28 +00:00
# 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"]