Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
9cdbca15
Commit
9cdbca15
authored
Dec 02, 2020
by
Remi Hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding python framework dockerfile
parent
00bef845
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
ci-scripts/py-image.Dockerfile
ci-scripts/py-image.Dockerfile
+29
-0
No files found.
ci-scripts/py-image.Dockerfile
0 → 100644
View file @
9cdbca15
#docker build -t ci-py:test -f py-image.Dockerfile --build-arg NEEDED_GIT_PROXY="http://proxy.eurecom.fr:8080" .
#docker run -it --name prod-ci-py ci-py:test /bin/bash
FROM
ubuntu:18.04
ARG
NEEDED_GIT_PROXY
RUN
apt-get update
\
&&
apt
install
git
-y
# In some network environments, GIT proxy is required
RUN
/bin/bash
-c
"if [[ -v NEEDED_GIT_PROXY ]]; then git config --global http.proxy
$NEEDED_GIT_PROXY
; fi"
RUN
apt
install
python3
-y
\
&&
apt
install
python3-pip
-y
\
#packages required by framework
&& pip3 install pexpect \
&& pip3 install pyyaml \
#functions required by framework call to subprocess
#curl, fromdos, ping, jq
&& apt install curl -y \
&& apt install tofrodos -y \
&& apt install iputils-ping -y \
&& apt install jq -y \
#clone repo to retrieve python framework files
&& git clone -b rh_fr1_newjenkins https://gitlab.eurecom.fr/oai/openairinterface5g.git /tmp/CI-PY
ENTRYPOINT
/bin/bash
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