FROM iot-connectionservice-docker-local.artifactory.swg-devops.com/monitor/pipeline-engine:1.0.0-4989 

#USER root
#FROM iot-connectionservice-docker-local.artifactory.swg-devops.com/analytics-service-pipeline/master-production_3_0:production_3_0-4815

RUN pip install --user scikit-image==0.16.2
RUN pip install --user requests_futures~=1.0.0  --upgrade --no-cache
RUN pip install --user requests_futures~=1.0.0 pytest pytest_mock pytest_cov --upgrade --no-cache
# Siva said AS has IOT image now
RUN pip install --user iotfunctions@https://github.com/ibm-watson-iot/functions/tarball/production --upgrade --no-cache
RUN pip install --user watson-machine-learning-client~=1.0.371 --upgrade --no-cache
RUN pip install --user pwlf --no-cache
RUN pip install --user ipython --no-cache
RUN pip install --user graphviz --no-cache
RUN pip install --user imbalanced-learn==0.7.0 --upgrade --no-cache
RUN pip install --user plotly==4.5.1 
# RUN pip install --user ibm_watson_machine_learning
RUN pip install --user ibm_watsonx_ai --upgrade --no-cache
RUN pip install --user sklearn-deap --upgrade --no-cache 
RUN pip install --user mlxtend==0.16.0 --upgrade --no-cache
RUN pip install --user scikit-optimize --upgrade --no-cache
RUN pip install --user smote_variants --upgrade --no-cache
RUN pip install --user pandas==0.24.2 --upgrade --no-cache



CMD ["/usr/bin/python3"]
