mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-15 02:25:40 +00:00
Move to plpgsql/pgunit
This commit is contained in:
1 parent
a5dfb13dcc
commit
ca4721e93b
11 files changed
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user