Commit 3e5507b4 authored by Sascha Dewes's avatar Sascha Dewes

Revert back to previous install script in Dockerfile

This reverts commit 853e2c03.
parent 5ea8a657
Pipeline #395371 failed with stages
in 8 minutes and 27 seconds
......@@ -10,21 +10,21 @@ buildDockerMXNetMaven:
script:
- cd docker
- docker login registry.git.rwth-aachen.de -u someUserName -p yEep-tAt19HbsmNQJMNo
- docker build -t registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/reinforcement_learning/forestrl/mxnetmvn:v0.0.3 .
- docker push registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/reinforcement_learning/forestrl/mxnetmvn:v0.0.3
- docker build -t registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/reinforcement_learning/forestrl/mxnetmvn:v0.0.2 .
- docker push registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/reinforcement_learning/forestrl/mxnetmvn:v0.0.2
only:
changes:
- docker/*
testDockerImage:
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/reinforcement_learning/forestrl/mxnetmvn:v0.0.3
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/reinforcement_learning/forestrl/mxnetmvn:v0.0.2
stage: testimage
script:
- chmod +x install.sh
- ./install.sh
TestBuild:
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/reinforcement_learning/forestrl/mxnetmvn:v0.0.3
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/reinforcement_learning/forestrl/mxnetmvn:v0.0.2
stage: build
script:
- mvn clean install -s settings.xml
......@@ -10,7 +10,6 @@ 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 wget
# Maven
RUN apt-get install -y maven
......@@ -29,7 +28,6 @@ RUN pip3 install --user --upgrade "cmake>=3.13.2"
RUN wget https://bootstrap.pypa.io/get-pip.py
RUN python get-pip.py
RUN pip install --user h5py matplotlib numpy==1.16.5 mxnet==1.5.1.post0
RUN cp -r mxnet/python/mxnet/libmxnet.so /usr/lib
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