sharenet/backend/Dockerfile.test-postgres
continuist ab1d377b2d
Some checks are pending
CI/CD Pipeline (Fully Isolated DinD) / Run Tests (DinD) (push) Waiting to run
CI/CD Pipeline (Fully Isolated DinD) / Build and Push Docker Images (DinD) (push) Blocked by required conditions
CI/CD Pipeline (Fully Isolated DinD) / Deploy to Production (push) Blocked by required conditions
Use arguments with Dockerfiles
2025-07-12 14:51:52 -04:00

18 lines
No EOL
499 B
Text

# PostgreSQL testing environment for CI/CD
ARG CI_HOST=localhost
ARG APP_NAME=sharenet
FROM ${CI_HOST}:443/${APP_NAME}/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