summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-04-02 08:20:54 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-04-02 08:20:54 +0800
commit1bc651852b82b69a2cee3b7c5816f95148643826 (patch)
tree6e01609c80906fc587f648de101673fec5a6fb97
parent442d53a4cb97170da936d498ce4a3308e9fc7f05 (diff)
Update docker init file
Change-Id: I408d706a6efca184c4cf106c660db961f6181e7d Issue-ID: VFC-1306 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rwxr-xr-xlcm/docker/instance_init.sh1
-rw-r--r--lcm/requirements.txt2
2 files changed, 1 insertions, 2 deletions
diff --git a/lcm/docker/instance_init.sh b/lcm/docker/instance_init.sh
index aa6a2d63..f556c11f 100755
--- a/lcm/docker/instance_init.sh
+++ b/lcm/docker/instance_init.sh
@@ -1,6 +1,5 @@
#!/bin/bash
-pip install PyMySQL==0.9.3
if [ ! -f /service/vfc/gvnfm/vnflcm/lcm/resources/bin/logs/django.log ]; then
mkdir -p /service/vfc/gvnfm/vnflcm/lcm/resources/bin/logs/
touch /service/vfc/gvnfm/vnflcm/lcm/resources/bin/logs/django.log
diff --git a/lcm/requirements.txt b/lcm/requirements.txt
index 47f8e4bf..bb92e205 100644
--- a/lcm/requirements.txt
+++ b/lcm/requirements.txt
@@ -3,7 +3,7 @@ Django==1.11.9
djangorestframework==3.7.7
# for access MySQL
-PyMySQL==0.7.11
+PyMySQL==0.9.3
# redis cache
redis==2.10.5