docker-pg_dump-alpine/Dockerfile
Marko Oldenburg c423b2b801
All checks were successful
Create postgresql docker image / Explore-Gitea-Actions (push) Successful in 31s
Dockerfile aktualisiert
2024-09-26 12:32:28 +00:00

22 lines
497 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
USER 26
# Festlegen des EntryPoints für das Docker-Image
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]