Some checks are pending
CI/CD Pipeline (Forgejo Container Registry) / Run Tests (DinD) (push) Waiting to run
CI/CD Pipeline (Forgejo Container Registry) / Build and Push Docker Images (DinD) (push) Blocked by required conditions
CI/CD Pipeline (Forgejo Container Registry) / Deploy to Production (push) Blocked by required conditions
18 lines
No EOL
513 B
Text
18 lines
No EOL
513 B
Text
# PostgreSQL testing environment for CI/CD
|
|
ARG REGISTRY_HOST=localhost
|
|
ARG OWNER_REPO=owner/repo
|
|
FROM ${REGISTRY_HOST}/${OWNER_REPO}/postgres:15-alpine
|
|
|
|
# Install additional tools if needed
|
|
RUN apk add --no-cache curl
|
|
|
|
# Copy any custom configuration if needed
|
|
# COPY postgresql.conf /etc/postgresql/postgresql.conf
|
|
|
|
# Keep the default PostgreSQL configuration
|
|
# The image will use the default postgresql.conf
|
|
|
|
# Expose the default PostgreSQL port
|
|
EXPOSE 5432
|
|
|
|
# Use the default PostgreSQL entrypoint and command |