summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorvrvarma <vikas.varma@att.com>2020-03-23 12:31:24 -0400
committervrvarma <vikas.varma@att.com>2020-03-23 12:31:34 -0400
commitbb5346f671007485776b1f71ed1e1b337e787603 (patch)
treee70a4e64351bce2529691f07df638de9c4481350 /docker
parentf0f912e2e8cb23952099c3df83167181a50ab2f8 (diff)
Refactor docker timeouts for opteng image
scikit-learning package is causing timeouts for alpine based docker. Change-Id: I1b8670bacce9135b74d01778da47926f10f09e6a Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-722
Diffstat (limited to 'docker')
-rw-r--r--docker/opteng/Dockerfile3
-rw-r--r--docker/osdf/Dockerfile2
2 files changed, 2 insertions, 3 deletions
diff --git a/docker/opteng/Dockerfile b/docker/opteng/Dockerfile
index bd58f35..41485ef 100644
--- a/docker/opteng/Dockerfile
+++ b/docker/opteng/Dockerfile
@@ -40,8 +40,7 @@ RUN apk update && apk upgrade \
&& apk --no-cache --update add less ca-certificates bash libxslt-dev unzip \
freetype freetype-dev libstdc++ build-base libc6-compat lapack-dev openblas-dev \
&& ln -s /lib/libc.musl-x86_64.so.1 /lib/ld-linux-x86-64.so.2 \
- && pip install --no-cache-dir --upgrade pip wheel setuptools \
- && pip install --no-cache-dir Cython numpy==1.17.3 scipy==1.3.1
+ && pip install --no-cache-dir --upgrade pip wheel setuptools
# Minizinc
RUN wget -q $MZN_DL_URL -O mz.tgz \
diff --git a/docker/osdf/Dockerfile b/docker/osdf/Dockerfile
index 5a14a04..1533d5f 100644
--- a/docker/osdf/Dockerfile
+++ b/docker/osdf/Dockerfile
@@ -69,7 +69,7 @@ RUN mkdir -p /var/log/onap/optf/osdf/ \
&& chown -R onap:onap /var/log/onap \
&& chown -R onap:onap /opt/osdf
-RUN pip install --no-cache-dir -r requirements.txt
+RUN pip install --no-cache-dir -r requirements.txt -r requirements-osdf.txt
USER onap