diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-04-30 15:59:45 +0800 |
---|---|---|
committer | Yan Yang <yangyanyj@chinamobile.com> | 2019-04-30 08:25:47 +0000 |
commit | 52a969dcc2a935930a559b1780d7c95e1cc45d73 (patch) | |
tree | b95f60a4c719a0a24b5343f09fe17cb6fe060666 /docker | |
parent | 63c392e9cca3c6654e8383f49e5136fa86d1c72a (diff) |
code refactor for genericparser1.0.0
Change-Id: I68a128944cde015d767576fc4e159d67db2d6b5d
Issue-ID: VFC-1372
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/docker-env-conf.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docker/docker-env-conf.sh b/docker/docker-env-conf.sh index c919dda..f62c52a 100755 --- a/docker/docker-env-conf.sh +++ b/docker/docker-env-conf.sh @@ -2,7 +2,6 @@ install_sf(){ - sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories apk --no-cache update apk --no-cache add bash curl gcc wget mysql-client openssl-dev apk --no-cache add python-dev libffi-dev musl-dev py2-virtualenv @@ -13,7 +12,6 @@ install_sf(){ unzip modeling-genericparser.zip && \ rm -rf modeling-genericparser.zip && \ pip install --upgrade setuptools pip && \ - pip install --no-cache-dir --pre -r /service/modeling/genericparser/requirements.txt } @@ -32,11 +30,11 @@ config_logdir(){ if [ ! -d "/var/log/onap" ]; then sudo mkdir /var/log/onap - fi - + fi + sudo chown onap:onap -R /var/log/onap chmod g+s /var/log/onap - + } clean_sf_cache(){ |