Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
guo xiaoyong
Jumpserver
Commits
634e3a8e
Commit
634e3a8e
authored
4 years ago
by
Bai
Committed by
Jiangjie.Bai
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix: 修改镜像为mirror-vault源
parent
8f792dc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+5
-0
Dockerfile
with
5 additions
and
0 deletions
+5
-0
Dockerfile
+
5
-
0
View file @
634e3a8e
...
...
@@ -18,6 +18,11 @@ WORKDIR /opt/jumpserver
COPY
./requirements ./requirements
RUN
useradd jumpserver
RUN
wget
-O
/etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
\
&&
sed
-i
's@/centos/@/centos-vault/@g'
/etc/yum.repos.d/CentOS-Base.repo
\
&&
sed
-i
's@$releasever@6.10@g'
/etc/yum.repos.d/CentOS-Base.repo
RUN
yum
-y
install
epel-release
&&
\
echo
-e
"[mysql]
\n
name=mysql
\n
baseurl=
${
MYSQL_MIRROR
}
\n
gpgcheck=0
\n
enabled=1"
>
/etc/yum.repos.d/mysql.repo
RUN
yum
-y
install
$(
cat
requirements/rpm_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