Skip to content

Commit

Permalink
Merge pull request #21 from flash1nho/dk
Browse files Browse the repository at this point in the history
feature(dk): add 2.2.7 dockerfile for dk
  • Loading branch information
isqad authored Oct 2, 2019
2 parents 1d4f4d2 + 9f4dc4d commit b19b9d4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 2.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&\
Expand Down

0 comments on commit b19b9d4

Please sign in to comment.