diff options
author | Pradeep Patel <pradeep.patel2@amdocs.com> | 2018-05-01 06:32:02 +0000 |
---|---|---|
committer | Pradeep Patel <pradeep.patel2@amdocs.com> | 2018-05-01 06:43:07 +0000 |
commit | 4fe3182dae9e35a4eb073579c8f338c2eb91a61a (patch) | |
tree | 5775894100915196004c61a3267dbab5c0b1bdc1 /docker | |
parent | 935f01e47684463bda65ed3bc93165c8613b8fe8 (diff) |
VFC Containers not coming up using K8s
Issue-ID: VFC-894
Change-Id: I53398ee32ea7e771c2c44492c78849fa87ab0d28
Signed-off-by: Pradeep Patel <pradeep.patel2@amdocs.com>
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/Dockerfile | 2 | ||||
-rwxr-xr-x | docker/instance_init.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index b42c1e71..8df62df2 100755 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -36,6 +36,8 @@ RUN wget -q -O vfc-nfvo-catalog.zip 'https://nexus.onap.org/service/local/artifa RUN sed -i "s|bind-address.*|# bind-address = 127.0.0.1|" /etc/mysql/my.cnf +VOLUME /var/lib/mysql + WORKDIR /service/vfc/nfvo/catalog RUN pip install --pre -r requirements.txt diff --git a/docker/instance_init.sh b/docker/instance_init.sh index 47ceea63..622477fc 100755 --- a/docker/instance_init.sh +++ b/docker/instance_init.sh @@ -10,7 +10,7 @@ function start_redis_server { } function start_mysql { - find /var/lib/mysql -type f -exec touch {} \; && service mysql start + service mysql start sleep 1 } |