e15ca89c3e
Some checks failed
Create postgresql docker image / Explore-Gitea-Actions (push) Failing after 18s
[optional body] [Ticket: no]
22 lines
492 B
Docker
22 lines
492 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"] |