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
1a4e7a22
Verified
Commit
1a4e7a22
authored
5 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Updated build scripts
parent
25d4f8e2
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Dockerfile
+13
-12
13 additions, 12 deletions
Dockerfile
Makefile
+14
-0
14 additions, 0 deletions
Makefile
src/docker-entrypoint.sh
+0
-0
0 additions, 0 deletions
src/docker-entrypoint.sh
src/setenv.sh
+0
-0
0 additions, 0 deletions
src/setenv.sh
with
27 additions
and
12 deletions
Dockerfile
+
13
−
12
View file @
1a4e7a22
FROM
ubuntu:1
6
.04
FROM
ubuntu:1
8
.04
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
python
\
python2.7
\
libpython2.7
\
python-setuptools
\
python-imaging
\
python-ldap
\
python-urllib3
\
python-pip
\
python-memcache
\
python-requests
\
ffmpeg
\
libmemcached-dev
\
build-essential
\
python-dev
\
zlib1g-dev
\
wget
RUN
pip2
install
--upgrade
pip
&&
\
pip2
install
--upgrade
wheel
&&
\
pip2
install
--upgrade
pillow
\
RUN
pip2
install
--upgrade
pip
RUN
pip2
install
--upgrade
wheel
RUN
pip2
install
--upgrade
\
pillow
==
4.3.0
\
numpy
==
1.16.4
\
moviepy
==
0.2.3.5
\
psycopg2-binary
\
...
...
@@ -26,8 +27,8 @@ RUN pip2 install --upgrade pip && \
django-pylibmc
# add entrypoints
ADD
setenv.sh /
ADD
docker-entrypoint.sh /
ADD
src/
setenv.sh /
ADD
src/
docker-entrypoint.sh /
# set environment variables for locale
ENV
LANG=C.UTF-8
...
...
This diff is collapsed.
Click to expand it.
Makefile
0 → 100644
+
14
−
0
View file @
1a4e7a22
IMAGE
:=
k8r.eu/justjanne/
$(
shell
basename
$(
shell git remote get-url origin
)
.git
)
TAGS
:=
$(
shell git describe
--always
--tags
HEAD
)
.PHONY
:
build
build
:
docker build
--pull
-t
$(
IMAGE
)
:
$(
TAGS
)
.
docker tag
$(
IMAGE
)
:
$(
TAGS
)
$(
IMAGE
)
:latest
@
echo
Successfully tagged
$(
IMAGE
)
:
$(
TAGS
)
as latest
.PHONY
:
push
push
:
build
docker push
$(
IMAGE
)
:
$(
TAGS
)
docker push
$(
IMAGE
)
:latest
@
echo
Successfully pushed
$(
IMAGE
)
:
$(
TAGS
)
as latest
This diff is collapsed.
Click to expand it.
docker-entrypoint.sh
→
src/
docker-entrypoint.sh
+
0
−
0
View file @
1a4e7a22
File moved
This diff is collapsed.
Click to expand it.
setenv.sh
→
src/
setenv.sh
+
0
−
0
View file @
1a4e7a22
File moved
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