Commit 109dab00 authored by Sascha Dewes's avatar Sascha Dewes

revert to previous install script

parent 3e5507b4
Pipeline #395870 failed with stages
in 19 minutes and 19 seconds
FROM ros:kinetic
RUN apt-get update
RUN apt-get install -y build-essential git ninja-build ccache
RUN apt-get install -y libopenblas-dev libblas-dev
RUN apt-get install -y liblapack-dev libopencv-dev
RUN apt-get install -y libarmadillo-dev cmake
RUN apt-get install -y python2.7 python-dev python-tk
RUN apt-get install -y python-numpy
RUN apt-get install -y python3-pip
RUN apt-get install -y swig unzip
RUN apt-get install -y libboost-all-dev
RUN apt-get install -y unzip g++
RUN apt-get install -y libopenblas-dev libhdf5-serial-dev
ENV PATH="/usr/lib/x86_64-linux-gnu/:${PATH}"
ENV ROS_HOME=/opt/ros/kinetic
CMD ["bash"]
# Essential
RUN apt-get install -y openjdk-8-jdk openjdk-8-jre gcc make cmake ninja-build git python2.7 python-dev python-numpy swig libboost-all-dev curl wget python-tk
RUN curl -o
RUN python
RUN pip install h5py numpy pyprind matplotlib
# Maven
RUN apt-get install -y maven
# Armadillo
ADD /root/
RUN unzip /root/ -d /root/armadillo
RUN cd /root/armadillo/armadillo-9.600.6 && cmake . && make && make install
RUN apt-get install -y libopenblas-dev liblapack-dev
RUN cd /root/armadillo/armadillo-9.600.6 && \
cmake . && \
make && \
make install
RUN apt-get install -y libopenblas-dev
RUN apt-get install -y libblas-dev liblapack-dev
RUN apt-get install -y build-essential
RUN apt-get install -y libopenblas-dev
RUN apt-get install -y libopencv-dev
RUN git clone --recursive mxnet
RUN cd mxnet && git checkout tags/1.5.0 && git submodule update --recursive --init
RUN cd mxnet && mkdir build && cd build && cmake -DUSE_CPP_PACKAGE=1 -DUSE_CUDA=0 -GNinja .. && ninja
RUN cd mxnet && cp -r include/mxnet /usr/include/mxnet && cp -r cpp-package/include/mxnet-cpp /usr/include/ && cp -r 3rdparty/tvm/nnvm/include/nnvm /usr/include/ && cp -r 3rdparty/dmlc-core/include/dmlc /usr/include/
RUN pip install numpy==1.16.5 mxnet==1.5.0
RUN cp -r "$(dirname $(python -c 'import mxnet; print(mxnet.__file__)'))/" /usr/lib
RUN pip3 install --user --upgrade "cmake>=3.13.2"
RUN wget
RUN python
RUN pip install --user h5py matplotlib numpy==1.16.5 mxnet==1.5.1.post0
# Numpy Library
RUN rm -rf /usr/include/numpy && \
ln -s "$(python -c 'import numpy; print(numpy.get_include())')/numpy" /usr/include
# Set Display for TKInter
RUN mkdir -p /root/.config/matplotlib
RUN echo "backend : Agg" > /root/.config/matplotlib/matplotlibrc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment