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
f7b0932c
Unverified
Commit
f7b0932c
authored
Apr 02, 2019
by
老广
Committed by
GitHub
Apr 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix (#2569)
* [Update] 修改Logo 的位置 * [Update] 修改镜像build
parent
9d62deea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
Dockerfile
Dockerfile
+5
-5
_user_profile.html
apps/templates/_user_profile.html
+1
-1
rpm_requirements.txt
requirements/rpm_requirements.txt
+1
-1
No files found.
Dockerfile
View file @
f7b0932c
...
...
@@ -6,11 +6,11 @@ RUN useradd jumpserver
COPY
./requirements /tmp/requirements
RUN
rpm
-ivh
https://repo.mysql.com/mysql57-community-release-el6.rpm
RUN
yum
-y
install
epel-release openldap-clients telnet
&&
cd
/tmp/requirements
&&
\
yum
-y
install
$(
cat
rpm_requirements.txt
)
RUN
cd
/tmp/requirements
&&
pip
install
-i
https://mirrors.aliyun.com/pypi/simple/
-r
requirements.txt
||
pip
install
-r
requirements.txt
RUN
yum
-y
install
epel-release
&&
rpm
-ivh
https://repo.mysql.com/mysql57-community-release-el6.rpm
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
RUN
mkdir
-p
/root/.ssh/
&&
echo
-e
"Host *
\n\t
StrictHostKeyChecking no
\n\t
UserKnownHostsFile /dev/null"
>
/root/.ssh/config
COPY
. /opt/jumpserver
RUN
echo
>
config.yml
...
...
apps/templates/_user_profile.html
View file @
f7b0932c
...
...
@@ -3,7 +3,7 @@
<li
class=
"nav-header"
>
<div
class=
"profile-element"
style=
"height: 65px"
>
<div
href=
"http://www.jumpserver.org"
target=
"_blank"
style=
"width: 100%; background-image: url({% static 'img/header-profile.png' %})"
>
<img
alt=
"logo"
height=
"55"
width=
"185"
src=
"{{ LOGO_TEXT_URL }}"
/>
<img
alt=
"logo"
height=
"55"
width=
"185"
s
tyle=
"margin-right: 5px"
s
rc=
"{{ LOGO_TEXT_URL }}"
/>
</div>
</div>
<div
class=
"logo-element"
>
...
...
requirements/rpm_requirements.txt
View file @
f7b0932c
libtiff-devel libjpeg-devel libzip-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel sshpass openldap-devel mariadb-devel mysql-devel libffi-devel openssh-clients openldap-clients
libtiff-devel libjpeg-devel libzip-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel sshpass openldap-devel mariadb-devel mysql-devel libffi-devel openssh-clients
telnet
openldap-clients
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