Move to plpgsql/pgunit

This commit is contained in:
fpellet committed 2019-12-28 16:13:44 +01:00
1 parent a5dfb13dcc
commit ca4721e93b
11 files changed

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
FROM postgres:12.1
WORKDIR /app
ENV PGHOST=localhost
ENV PGDATABASE=kata
ENV PGPASSWORD=admin
ENV PGUSER=postgres
ENV POSTGRES_PASSWORD=admin
ENV PGDATA /var/lib/postgresql/data_local
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates wget \
&& rm -rf /var/lib/apt/lists/*
ADD ./*.sh /app/
ADD ./*.sql /app/
RUN chmod +x ./*.sh \
&& ./initializeDocker.sh