mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-13 17:49:25 +00:00
Remove update_quality of install to improve docker build cache
This commit is contained in:
1 parent
a57022e13c
commit
6383ae05bb
2 files changed
+2
-2
No files matched your search
+2
-1
@@ -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
|
|
||||||
Reference in new issue
Block a user