mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
Remove update_quality of install to improve docker build cache
This commit is contained in:
parent
a57022e13c
commit
6383ae05bb
@ -11,7 +11,8 @@ ENV PGDATA /var/lib/postgresql/data_local
|
|||||||
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
|
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
|
||||||
|
|
||||||
ADD ./*.sh /app/
|
ADD ./*.sh /app/
|
||||||
ADD ./src /app/src
|
ADD ./src/item.sql /app/src/
|
||||||
|
ADD ./src/new_item.sql /app/src/
|
||||||
|
|
||||||
# PGUNIT
|
# PGUNIT
|
||||||
FROM base as pgunit
|
FROM base as pgunit
|
||||||
|
|||||||
@ -11,4 +11,3 @@ psql -d postgres -c 'CREATE DATABASE kata;'
|
|||||||
echo "Add current code"
|
echo "Add current code"
|
||||||
psql -d kata -f src/item.sql
|
psql -d kata -f src/item.sql
|
||||||
psql -d kata -f src/new_item.sql
|
psql -d kata -f src/new_item.sql
|
||||||
psql -d kata -f src/update_quality.sql
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user