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
cb8f09b9
Commit
cb8f09b9
authored
Jan 25, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Plain Diff
[Merge] merge with dev
parents
d8e33ab8
7c39885d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Dockerfile
Dockerfile
+2
-2
models.py
coco/models.py
+1
-1
No files found.
Dockerfile
View file @
cb8f09b9
FROM
registry.fit2cloud.com/jumpserver/python:v3
FROM
registry.fit2cloud.com/jumpserver/python:v3
MAINTAINER
Jumpserver Team <ibuler@qq.com>
MAINTAINER
Jumpserver Team <ibuler@qq.com>
COPY
. /opt/coco
COPY
requirements /opt/coco/requirements
WORKDIR
/opt/coco
WORKDIR
/opt/coco
RUN
cd
requirements
&&
yum
-y
install
$(
cat
rpm_requirements.txt
)
&&
\
RUN
cd
requirements
&&
yum
-y
install
$(
cat
rpm_requirements.txt
)
&&
\
pip
install
-r
requirements.txt
pip
install
-r
requirements.txt
COPY
. /opt/coco
VOLUME
/opt/coco/logs
VOLUME
/opt/coco/logs
VOLUME
/opt/coco/keys
VOLUME
/opt/coco/keys
...
...
coco/models.py
View file @
cb8f09b9
...
@@ -228,5 +228,5 @@ class WSProxy:
...
@@ -228,5 +228,5 @@ class WSProxy:
def
close
(
self
):
def
close
(
self
):
self
.
stop_event
.
set
()
self
.
stop_event
.
set
()
self
.
child
.
close
()
self
.
child
.
close
()
self
.
ws
.
on_
logout
(
self
.
connection
)
self
.
ws
.
logout
(
self
.
connection
)
logger
.
debug
(
"Proxy {} closed"
.
format
(
self
))
logger
.
debug
(
"Proxy {} closed"
.
format
(
self
))
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