add action workflow and change Docker file name
All checks were successful
Create postgresql docker image / Explore-Gitea-Actions (push) Successful in 19s

This commit is contained in:
2024-09-26 11:29:33 +02:00
parent 614b98c29c
commit b3e3122c04
2 changed files with 47 additions and 0 deletions

20
Dockerfile Normal file
View File

@ -0,0 +1,20 @@
FROM alpine:latest
LABEL maintainer="development@cooltux.net"
ARG VERSION=16-20240926
# PostgreSQL-Client installieren
RUN apk update ; \
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"]