Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
monticore
EmbeddedMontiArc
A
applications
reinforcement_learning
forestrl
Commits
69e08653
Commit
69e08653
authored
Jan 20, 2021
by
Sascha Dewes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated docker file and added stage for building docker image in ci pipeline
parent
08b35692
Pipeline
#394459
failed with stages
in 5 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
10 deletions
+20
-10
.gitlab-ci.yml
.gitlab-ci.yml
+19
-1
docker/Dockerfile
docker/Dockerfile
+1
-9
No files found.
.gitlab-ci.yml
View file @
69e08653
stages
:
-
docker
-
build
buildDockerMXNetMaven
:
stage
:
docker
tags
:
-
shell
script
:
-
cd docker
-
docker login registry.git.rwth-aachen.de -u someUserName -p yEep-tAtl9HbsmNQJMNo
-
docker build -t registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/reinforcement_learning/forestrl/mxnetmvn:v0.0.1 .
-
docker push registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/reinforcement_learning/forestrl/mxnetmvn:v0.0.1
only
:
changes
:
-
docker/*
TestBuild
:
image
:
registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/reinforcement_learning/forestrl
image
:
registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/reinforcement_learning/forestrl/mxnetmvn:v0.0.1
stage
:
build
script
:
-
maven clean install -s settings.xml
docker/Dockerfile
View file @
69e08653
...
...
@@ -33,17 +33,9 @@ RUN apt-get install -y libopencv-dev
RUN
git clone
--recursive
https://github.com/apache/incubator-mxnet.git mxnet_source
&&
\
cd
mxnet_source
&&
git checkout tags/1.5.0
&&
cd
..
&&
\
cp
-r
mxnet_source/include/mxnet /usr/include/mxnet
RUN
pip
install
mxnet
RUN
pip
install
numpy
==
1.16.5
mxnet
==
1.5.0
RUN
cp
-r
"
$(
dirname
$(
python
-c
'import mxnet; print(mxnet.__file__)'
))
/libmxnet.so"
/usr/lib
# OpenAI Gym
RUN
git clone https://github.com/openai/gym.git openai_gym
&&
\
cd
openai_gym
&&
\
pip
install
-e
.
&&
\
pip
install
-e
'.[box2d]'
&&
\
pip
install
-e
'.[atari]'
&&
\
cd
..
# Numpy Library
RUN
rm
-rf
/usr/include/numpy
&&
\
ln
-s
"
$(
python
-c
'import numpy; print(numpy.get_include())'
)
/numpy"
/usr/include
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment