Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
5bcd122d
Commit
5bcd122d
authored
Nov 29, 2019
by
BaiJiangJie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改Dockerfile,安装 wheel 依赖
parent
3a812c22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Dockerfile
Dockerfile
+1
-1
No files found.
Dockerfile
View file @
5bcd122d
...
...
@@ -9,7 +9,7 @@ COPY ./requirements /tmp/requirements
RUN
yum
-y
install
epel-release
&&
\
echo
-e
"[mysql]
\n
name=mysql
\n
baseurl=https://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql57-community-el6/
\n
gpgcheck=0
\n
enabled=1"
>
/etc/yum.repos.d/mysql.repo
RUN
cd
/tmp/requirements
&&
yum
-y
install
$(
cat
rpm_requirements.txt
)
RUN
cd
/tmp/requirements
&&
pip
install
--upgrade
pip setuptools
&&
\
RUN
cd
/tmp/requirements
&&
pip
install
--upgrade
pip setuptools
&&
pip
install
wheel
&&
\
pip
install
-i
https://mirrors.aliyun.com/pypi/simple/
-r
requirements.txt
||
pip
install
-r
requirements.txt
RUN
mkdir
-p
/root/.ssh/
&&
echo
-e
"Host *
\n\t
StrictHostKeyChecking no
\n\t
UserKnownHostsFile /dev/null"
>
/root/.ssh/config
...
...
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