Warning, /iDDS/main/tools/container/docker/hpo/Dockerfile.back is written in an unsupported language. File is not indexed.
0001 FROM centos:7
0002
0003 LABEL project="iDDS_HPO_Nevergrad(wen.guan@cern.ch)"
0004
0005 ARG PROJECT=idds
0006
0007 RUN yum update -q -y \
0008 && yum install -q -y wget make git gcc openssl-devel bzip2-devel libffi-devel \
0009 && cd /usr/src \
0010 && wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz \
0011 && tar xzf Python-3.7.4.tgz \
0012 && cd Python-3.7.4 \
0013 && ./configure --enable-optimizations \
0014 && make altinstall \
0015 && rm -rf /usr/src/Python-3.7.4.tgz \
0016 && yum clean all \
0017 # set python3.7 as default
0018 && alternatives --install /usr/bin/python python /usr/bin/python2 50 \
0019 && alternatives --install /usr/bin/python python /usr/local/bin/python3.7 70 \
0020 && alternatives --set python /usr/local/bin/python3.7 \
0021 # symlink pip
0022 && ln -s /usr/local/bin/pip3.7 /usr/bin/pip \
0023 && pip install --no-cache-dir --upgrade pip pipenv setuptools wheel \
0024 && ln -s /usr/local/bin/pipenv /usr/bin/pipenv \
0025 # set the locale
0026 && localedef --quiet -c -i en_US -f UTF-8 en_US.UTF-8
0027
0028 ENV LANG en_US.UTF-8
0029 ENV LANGUAGE en_US:en
0030 ENV LC_ALL en_US.UTF-8
0031
0032 COPY ../../../../atlas/lib/idds/atlas/processing/hyperparameteropt_nevergrad.py /$PROJECT
0033 RUN pip install --upgrade pip
0034 RUN pip install nevergrad
0035