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
7859499c
Commit
7859499c
authored
May 21, 2019
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 更新dockerfile
parent
e8ceb582
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Dockerfile
Dockerfile
+2
-1
No files found.
Dockerfile
View file @
7859499c
...
...
@@ -6,7 +6,8 @@ RUN useradd jumpserver
COPY
./requirements /tmp/requirements
RUN
yum
-y
install
epel-release
&&
rpm
-ivh
https://repo.mysql.com/mysql57-community-release-el6.rpm
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
&&
\
pip
install
-i
https://mirrors.aliyun.com/pypi/simple/
-r
requirements.txt
||
pip
install
-r
requirements.txt
...
...
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