mirror of
https://github.com/haiwen/seafile-server-installer-cn.git
synced 2025-12-25 17:02:46 +00:00
Update Dockerfile
This commit is contained in:
parent
5c1fcf4b6f
commit
cbfd2635df
|
|
@ -1,38 +1,3 @@
|
||||||
*.pyc
|
*.pyc
|
||||||
*~
|
*~
|
||||||
*#
|
*#
|
||||||
seahub.db*
|
|
||||||
local_settings.py
|
|
||||||
startserver.sh
|
|
||||||
thirdpart/django
|
|
||||||
thirdpart/djblets
|
|
||||||
thirdpart/gunicorn*
|
|
||||||
thirdpart/*.pth
|
|
||||||
thirdpart/site.*
|
|
||||||
restart.sh
|
|
||||||
settings.py.mysql
|
|
||||||
settings.py.sqlite
|
|
||||||
secret_key.py
|
|
||||||
run-seahub.sh
|
|
||||||
setenv.sh
|
|
||||||
pylintrc
|
|
||||||
.DS_Store
|
|
||||||
*.mo
|
|
||||||
media/CACHE
|
|
||||||
media/custom
|
|
||||||
media/avatars/*
|
|
||||||
!media/avatars/default-non-register.jpg
|
|
||||||
!media/avatars/default.png
|
|
||||||
!media/default.jpg
|
|
||||||
!media/groups/default.jpg
|
|
||||||
static/scripts/dist
|
|
||||||
logs/
|
|
||||||
mysite.pid
|
|
||||||
notification_email.sh
|
|
||||||
send_user_notifications.sh
|
|
||||||
shutdown.sh
|
|
||||||
cscope*
|
|
||||||
docs/_build/*
|
|
||||||
deps
|
|
||||||
ghostdriver.log
|
|
||||||
seahub/thumbnail/thumb/*
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,14 @@
|
||||||
FROM ubuntu:14.04
|
FROM ubuntu:14.04
|
||||||
MAINTAINER Zheng Xie <xie.zheng@seafile.com>
|
MAINTAINER Zheng Xie <xie.zheng@seafile.com>
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y sudo wget python-pip python-setuptools python-imaging python-mysqldb python-ldap python-urllib3 \
|
||||||
|
openjdk-7-jre memcached python-memcache pwgen curl openssl poppler-utils libpython2.7 libreoffice \
|
||||||
|
libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy nginx
|
||||||
|
|
||||||
# Avoid ERROR: invoke-rc.d: policy-rc.d denied execution of start.
|
# Avoid ERROR: invoke-rc.d: policy-rc.d denied execution of start.
|
||||||
RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d
|
RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d
|
||||||
|
|
||||||
RUN apt-get update
|
|
||||||
RUN apt-get install -y wget
|
|
||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
ADD . /root/
|
ADD . /root/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue