Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
l y
Jumpserver
Commits
7859499c
Commit
7859499c
authored
6 years ago
by
ibuler
Browse files
Options
Download
Email Patches
Plain Diff
[Update] 更新dockerfile
parent
e8ceb582
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-1
Dockerfile
with
2 additions
and
1 deletion
+2
-1
Dockerfile
+
2
-
1
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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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