Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
coco
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
coco
Commits
6c1dcebb
Unverified
Commit
6c1dcebb
authored
Jul 29, 2019
by
老广
Committed by
GitHub
Jul 29, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #254 from jumpserver/dev
Dev
parents
47fc4b67
e8cc3d4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Dockerfile
Dockerfile
+2
-1
requirements.txt
requirements/requirements.txt
+1
-1
No files found.
Dockerfile
View file @
6c1dcebb
...
...
@@ -6,6 +6,7 @@ WORKDIR /opt/coco
RUN
yum
-y
install
epel-release
RUN
cd
requirements
&&
yum
-y
install
$(
cat
rpm_requirements.txt
)
RUN
cd
requirements
&&
pip
install
$(
egrep
"jms|jumpserver"
requirements.txt
)
RUN
cd
requirements
&&
pip
install
-r
requirements.txt
-i
https://mirrors.aliyun.com/pypi/simple/
||
pip
install
-r
requirements.txt
ENV
LANG=zh_CN.UTF-8
...
...
@@ -14,7 +15,7 @@ ENV LC_ALL=zh_CN.UTF-8
COPY
. /opt/coco
VOLUME
/opt/coco/data
RUN
echo
>
config.yml
RUN
echo
>
config.yml
EXPOSE
2222
ENTRYPOINT
["./entrypoint.sh"]
requirements/requirements.txt
View file @
6c1dcebb
...
...
@@ -19,7 +19,7 @@ itsdangerous==0.24
Jinja2==2.10.1
jmespath==0.9.3
jms-storage==0.0.23
jumpserver-python-sdk==0.0.7
0
jumpserver-python-sdk==0.0.7
1
MarkupSafe==1.0
oss2==2.4.0
paramiko==2.4.2
...
...
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