Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
78c4af30
Commit
78c4af30
authored
Sep 22, 2017
by
Matthieu Muffato
Browse files
Added some installation scripts for CentOS. Will ease the definition of Dockerfiles
parent
8474eaa6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
docker/setup_cpan.CentOS-7.sh
docker/setup_cpan.CentOS-7.sh
+11
-0
docker/setup_os.CentOS-7.sh
docker/setup_os.CentOS-7.sh
+20
-0
No files found.
docker/setup_cpan.CentOS-7.sh
0 → 100755
View file @
78c4af30
#!/bin/bash
set
-e
# We should probably install some build packages
for
arg
do
cpanm
--installdeps
--with-recommends
"
$arg
"
done
docker/setup_os.CentOS-7.sh
0 → 100755
View file @
78c4af30
#!/bin/bash
set
-e
# Proc::Daemon trick: we need version 0.23 but only version 0.19 is in the
# centos archives. cpanm will fail building 0.23 if 0.19 is around, so we
# need to build 0.23 before we install anything else
yum
install
-y
perl-App-cpanminus perl-Test-Simple perl-Proc-ProcessTable
tmpdir
=
$(
mktemp
-d
)
echo
"requires 'Proc::Daemon', '0.23';"
>
"
$tmpdir
/cpanfile"
cpanm
--installdeps
--notest
--with-recommends
"
$tmpdir
"
rmdir
"
$tmpdir
"
# install required extra software
yum
install
-y
curl
\
sqlite perl-DBD-SQLite postgresql perl-DBD-Pg mariadb perl-DBD-MySQL perl-DBI
\
perl-Capture-Tiny perl-DateTime perl-Time-Piece perl-HTML-Parser perl-JSON
\
perl-Test-Exception perl-Test-Simple perl-Test-Warn perl-Test-Warnings perl-Test-File-Contents perl-Test-Perl-Critic perl-GraphViz
\
gnuplot perl-BSD-Resource
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