docker-pg_dump-alpine/Dockerfile
Marko Oldenburg 198633584e
All checks were successful
Create postgresql docker image / Explore-Gitea-Actions (push) Successful in 20s
tst
2024-09-26 12:25:00 +02:00

22 lines
491 B
Docker

FROM alpine:latest
LABEL maintainer="development@cooltux.net"
ARG VERSION=16-20240926
# 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"]