Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
seafile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
seafile
Commits
cd382bbb
Verified
Commit
cd382bbb
authored
5 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Upgrade seafile to 7.1.3
parent
1a4e7a22
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+32
-30
32 additions, 30 deletions
Dockerfile
src/docker-entrypoint.sh
+4
-0
4 additions, 0 deletions
src/docker-entrypoint.sh
with
36 additions
and
30 deletions
Dockerfile
+
32
−
30
View file @
cd382bbb
FROM
ubuntu:18.04
FROM
ubuntu:18.04
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
RUN
apt-get update
&&
\
python
\
apt-get
install
-y
--no-install-recommends
\
python2.7
\
python3
\
libpython2.7
\
python3-pip
\
python-setuptools
\
python3-setuptools
\
python-ldap
\
python-urllib3
\
python-pip
\
python-memcache
\
python-requests
\
ffmpeg
\
libmemcached-dev
\
build-essential
\
python-dev
\
zlib1g-dev
\
wget
wget
RUN
pip2
install
--upgrade
pip
RUN
pip2
install
--upgrade
wheel
RUN
python3.6
-m
pip
install
--upgrade
pip
&&
rm
-r
/root/.cache/pip
RUN
pip2
install
--upgrade
\
pillow
==
4.3.0
\
RUN
pip3
install
\
numpy
==
1.16.4
\
click
\
moviepy
==
0.2.3.5
\
termcolor
\
colorlog
\
psycopg2-binary
\
psycopg2-binary
\
django
==
1.11.29 Pillow
\
pylibmc
\
pylibmc
\
django-pylibmc
captcha
\
jinja2
\
sqlalchemy
\
psd-tools
\
django-pylibmc
\
django-simple-captcha
\
python3-ldap
\
&&
rm
-r
/root/.cache/pip
# add entrypoints
# add entrypoints
ADD
src/setenv.sh /
ADD
src/setenv.sh /
ADD
src/docker-entrypoint.sh /
ADD
src/docker-entrypoint.sh /
# set environment variables for locale
# set environment variables for locale
ENV
LANG=C.UTF-8
ARG
LANG=C.UTF-8
ENV
LANGUAGE=C.UTF-8
ARG
LANGUAGE=C.UTF-8
ENV
LC_ALL=C.UTF-8
ARG
LC_ALL=C.UTF-8
# set environment variables for seafile
# set environment variables for seafile
ENV
ROOTPATH=/haiwen
ARG
ROOTPATH=/haiwen
ENV
INSTALLPATH=$ROOTPATH/seafile-server-latest
ARG
INSTALLPATH=$ROOTPATH/seafile-server-latest
ENV
CCNET_CONF_DIR=$ROOTPATH/ccnet
ENV
CCNET_CONF_DIR=$ROOTPATH/ccnet
ENV
SEAFILE_CENTRAL_CONF_DIR=$ROOTPATH/conf
ENV
SEAFILE_CENTRAL_CONF_DIR=$ROOTPATH/conf
ENV
SEAFILE_CONF_DIR=$ROOTPATH/seafile-data
ENV
SEAFILE_CONF_DIR=$ROOTPATH/seafile-data
ENV
GC_AT_STARTUP=false
# setup user environment
# setup user environment
RUN
addgroup
--gid
1000 seafile
&&
\
RUN
addgroup
--gid
1000 seafile
&&
\
adduser
--gid
1000
--uid
1000
--system
--shell
/bin/bash
--home
$ROOTPATH
seafile
adduser
--gid
1000
--uid
1000
--system
--shell
/bin/bash
--home
$ROOTPATH
seafile
USER
seafile
USER
seafile
VOLUME
$SEAFILE_CONF_DIR
VOLUME
$SEAFILE_CONF_DIR
RUN
wget https://download.seadrive.org/seafile-server_7.
0.5
_x86-64.tar.gz
-O
/tmp/seafile-server.tar.gz
&&
\
RUN
wget https://download.seadrive.org/seafile-server_7.
1.3
_x86-64.tar.gz
-O
/tmp/seafile-server.tar.gz
&&
\
tar
-C
/tmp/
-xzvf
/tmp/seafile-server.tar.gz
&&
\
tar
-C
/tmp/
-xzvf
/tmp/seafile-server.tar.gz
&&
\
rm
/tmp/seafile-server.tar.gz
&&
\
rm
/tmp/seafile-server.tar.gz
&&
\
mv
/tmp/seafile-server-
*
$INSTALLPATH
mv
/tmp/seafile-server-
*
$INSTALLPATH
...
...
This diff is collapsed.
Click to expand it.
src/docker-entrypoint.sh
+
4
−
0
View file @
cd382bbb
#!/bin/bash
#!/bin/bash
source
setenv.sh
source
setenv.sh
if
[[
"
$GC_ON_STARTUP
"
=
"true"
]]
;
then
$INSTALLPATH
/seaf-gc.sh
fi
$INSTALLPATH
/seafile.sh start
$INSTALLPATH
/seafile.sh start
$INSTALLPATH
/seahub.sh start
$INSTALLPATH
/seahub.sh start
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment