docker-pg_dump-alpine/Dockerfile
Marko Oldenburg 07e602dee7
All checks were successful
Create postgresql docker image / Explore-Gitea-Actions (push) Successful in 27s
Dockerfile aktualisiert
2024-09-26 11:43:37 +00:00

20 lines
488 B
Docker

FROM alpine:latest
LABEL maintainer="development@cooltux.net"
ARG VERSION=16-20240927
# PostgreSQL-Client installieren
RUN apk update --no-cache ; \
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"]