Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EPD
UCNEbase Web
Commits
d7d2fa70
Commit
d7d2fa70
authored
Feb 04, 2022
by
Sebastien Moretti
Browse files
Add missing requirements + Clone UCNEbase_web.git
parent
edc9f482
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
d7d2fa70
...
...
@@ -3,6 +3,7 @@ TODO
-
Apache without SSL/HTTPS and mod_security in the container
-
Apache different ports for each base, e.g. 8081 for UCNEbase, 8082 for EPD
-
MySQL conf in a container?
-
Send e-mails from the container?
-
/data/download/clusters/galGal3_subclusters.txt is missing
-
Set local all external JS/CSS calls
-
How to set https certificate in the container???
...
...
docker/Dockerfile
View file @
d7d2fa70
...
...
@@ -27,13 +27,16 @@ ENV USER=ucnebase
RUN
echo
'# OS update'
\
&&
yum update
-y
\
&&
echo
'# Install OS requirements'
\
&&
yum
install
-y
perl
httpd
wget git php-mysqlnd
\
&&
yum
install
-y
perl
perl-CGI httpd postfix
wget git php-mysqlnd
\
&&
wget
'https://dev.mysql.com/get/mysql80-community-release-el7-5.noarch.rpm'
\
&&
rpm
-ivh
*
.rpm
\
&&
rm
-f
*
.rpm
\
&&
yum
install
-y
mysql-community-server
\
&&
echo
'# Install UCNEbase'
\
&&
cd
/usr/local/
\
&&
git clone https://gitlab.sib.swiss/EPD/UCNEbase_web.git UCNEbase_web.git
\
&&
cd
UCNEbase_web.git/
\
&&
rm
-Rf
OLD/ .git
*
docker/
\
&&
echo
'# CLEANING'
\
&&
echo
'## So try to remove manually useless stuff'
\
&&
yum remove
-y
wget git
*
-devel
gcc
\
...
...
docker/README.docker
View file @
d7d2fa70
...
...
@@ -12,7 +12,7 @@
# Build Docker image
export UCNEBASE_VERSION=0.0.1
docker build -t ucnebase:$UCNEBASE_VERSION --no-cache=true --build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') --build-arg UCNEBASE_VERSION=$UCNEBASE_VERSION -f Dockerfile . 2>&1 >UCNEbase.Dockerfile.log
docker build -t ucnebase:$UCNEBASE_VERSION --no-cache=true --build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') --build-arg UCNEBASE_VERSION=$UCNEBASE_VERSION -f Dockerfile .
#
2>&1 >UCNEbase.Dockerfile.log
# List Docker local images (imported or built)
docker images
...
...
Write
Preview
Supports
Markdown
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