Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
saturn
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
钟尚武
saturn
Commits
984b82e1
Commit
984b82e1
authored
Aug 08, 2019
by
wangpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
构建
parent
33f81468
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
0 deletions
+53
-0
Dockerfile
Dockerfile
+26
-0
id_rsa
ssh/id_rsa
+27
-0
No files found.
Dockerfile
0 → 100644
View file @
984b82e1
FROM
python:3.6
ENV
PATH="/usr/local/bin:$PATH"
COPY
. /srv/apps/saturn/
WORKDIR
/root/.ssh/
ADD
ssh/id_rsa .
#ADD ./sources.list /etc/apt/sources.list
WORKDIR
/srv/apps/saturn/
RUN
chmod
-R
600 /root/.ssh/id_rsa
\
&&
echo
"StrictHostKeyChecking no"
>>
/etc/ssh/ssh_config
\
&&
mkdir
-p
/data/log/saturn/app
RUN
apt-get
-y
update
&&
apt-get
-y
install
libmariadb-dev-compat libmariadb-dev
\
&&
apt-get clean
\
&&
apt-get autoclean
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
pip3
install
-i
https://pypi.tuna.tsinghua.edu.cn/simple
-r
requirements.txt
CMD
bash -c 'source ~/.bashrc && celery -A physical worker -Q tapir-alpha --loglevel=DEBUG --maxtasksperchild 500 -c 62'
ssh/id_rsa
0 → 100644
View file @
984b82e1
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAvnSXGsqnlSxWVh9e4U40lWeV1f8DOD4B/atSjfxU9CJaSisc
xtm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tLhXSBF//m
2SZILVvHZBCU7tiyBwuGihmpzsHWKZtsojlZie8awtWtI63TN8ClAKs7XOOzSFZQ
FVM/Plwt1NM8UPEtEgGI/QKBgQCT5w1VEiE7rfpRIme/Ue9gqiB17PO7Yr9hX245
Oo9CcnsBQ4sPSrET5XdxK0dY4JXtGDdP75DcjjYCgOCFi1tsU0MWLYG1u9l0AcGW
St5qkFWJ5nIzKKhv+d3eX7fkw9XTdD/AWNl9CsOnOqE5TlfA8O79jXja4EjBTSF9
JGp+DQKBgC04JCqYJ4jHTQLNCEh42tajL34K8VCltNWdHrAabnd9a16YqzsdVIZ/
xxOBghO9Xwhz666v8yh5TDGAR8XA9kCNbVxeDlqWP1oqWMpHXSwUN5Q7cH/l8M8F
YlQLOkFz4B9mSobZoiupYXS9mpe2kMase2FroYkTy6NFX8mKa93q
-----END RSA PRIVATE KEY-----
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