a207812ac2
All checks were successful
Create postgresql docker image / Explore-Gitea-Actions (push) Successful in 15s
20 lines
490 B
Docker
20 lines
490 B
Docker
FROM alpine:latest
|
|
|
|
LABEL maintainer="development@cooltux.net"
|
|
ARG VERSION=16-20240926.1
|
|
|
|
# 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"] |