From 9f4dc4d9d259dd97b017c0215fce5753824bd298 Mon Sep 17 00:00:00 2001 From: Igor Okunev Date: Tue, 1 Oct 2019 19:43:23 +0500 Subject: [PATCH] feature(dk): add 2.2.7 dockerfile for dk --- 2.2/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/2.2/Dockerfile b/2.2/Dockerfile index cd215c1..960844e 100644 --- a/2.2/Dockerfile +++ b/2.2/Dockerfile @@ -97,10 +97,13 @@ RUN apt-get -y install redis-server &&\ # memcached RUN apt-get -y install memcached &&\ - echo "/etc/init.d/memcached start" >> /root/init + echo "/etc/init.d/memcached start" >> /root/init &&\ + mkdir -p /root/db/structure # Project DB -ADD db/structure/ /root/db/structure/ +COPY db/structure/dk_ci.sql /root/db/structure/dk_ci.sql +COPY db/structure/migrations_data.sql /root/db/structure/migrations_data.sql +COPY db/structure/table_partitions_data.sql /root/db/structure/table_partitions_data.sql RUN /etc/init.d/postgresql start &&\ apt-get -y -q install sudo &&\ while ps aux | grep "postgres: [s]tartup process" > /dev/null; do sleep 1;done &&\