Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
0a603221
Commit
0a603221
authored
9 years ago
by
delanoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] Docker install. Should be ok for main environment.
parent
024fc6d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
25 deletions
+27
-25
Dockerfile
install/docker/dev/Dockerfile
+27
-25
No files found.
install/docker/dev/Dockerfile
View file @
0a603221
...
...
@@ -8,8 +8,8 @@
###########################################################
######################################################################
FROM
debian:stretch
#
FROM gargantext
#
FROM debian:stretch
FROM
gargantext
MAINTAINER
ISCPIF <alexandre.delanoe@iscpif.fr>
######################################################################
...
...
@@ -65,10 +65,10 @@ RUN for dir in "/srv/gargantext"\
"/srv/gargantext_media"
\
"/srv/env_3-5"
\
"/var/www/gargantext"
;
do
\
mkdir
-p
$dir
\
chown
gargantua:gargantua
$dir
\
done
\
echo
"Root: END of the installation of Gargantext by Root."
mkdir
-p
$dir
;
\
chown
gargantua:gargantua
$dir
;
\
done
;
\
echo
"Root: END of the installation of Gargantext by Root."
;
######################################################################
...
...
@@ -87,18 +87,12 @@ RUN /etc/init.d/postgresql start &&\
######################################################################
USER
gargantua
# TODO (soon) : git clone https://gogs.iscpif.fr/gargantext.git
RUN
git clone ssh://gitolite@delanoe.org:1979/gargantext /srv/gargantext
\
&&
cd
/srv/gargantext
\
&&
git fetch origin refactoring
\
&&
git checkout refactoring
# Installing pip version of python libs
# Possible FIXME : if `pip install -r requirements.txt` fails
# then: fixme >> maybe (split the list)
# else: enjoy
# # Installing pip version of python libs
# TODO: user local file requirements with docker (and not wget)
RUN
wget http://dl.delanoe.org/requirements.txt
-o
/tmp/requirements.txt
\
...
...
@@ -108,14 +102,22 @@ RUN wget http://dl.delanoe.org/requirements.txt -o /tmp/requirements.txt \
&&
/bin/bash
-c
'env_3-5/bin/pip install -r /tmp/requirements.txt'
#
GET CONFIG FILES
WORKDIR
/tmp
RUN
wget http://dl.gargantext.org/gargantext_lib.tar.bz2
\
&&
tar
xvjf gargantext_lib.tar.bz2
-o
/srv/gargantext_lib
\
&&
chown
-R
gargantua:gargantua /srv/gargantext_lib
\
&&
echo
"Root: END of the installation of Gargantexts Database by postgres."
#
# GET CONFIG FILES (need update)
#
WORKDIR /tmp
#
RUN wget http://dl.gargantext.org/gargantext_lib.tar.bz2 \
#
&& tar xvjf gargantext_lib.tar.bz2 -o /srv/gargantext_lib \
#
&& chown -R gargantua:gargantua /srv/gargantext_lib \
#
&& echo "Root: END of the installation of Gargantexts Database by postgres."
# TODO script pour peupler la base
######################################################################
# Last step as user:
## TODO (soon) : git clone https://gogs.iscpif.fr/gargantext.git
#RUN git clone ssh://gitolite@delanoe.org:1979/gargantext /srv/gargantext \
# && cd /srv/gargantext \
# && git fetch origin refactoring \
# && git checkout refactoring
######################################################################
This diff is collapsed.
Click to expand it.
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