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
2a77af24
Commit
2a77af24
authored
Jun 18, 2019
by
Matthieu Muffato
Committed by
Marek Szuba
Jul 01, 2019
Browse files
The Docker image needs jdk12 too
parent
152402af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
docker/Dockerfile
docker/Dockerfile
+9
-2
No files found.
docker/Dockerfile
View file @
2a77af24
...
...
@@ -32,13 +32,20 @@
FROM
ubuntu:16.04
# Install
git and java
# Install
some basic utilities
ARG
DEBIAN_FRONTEND=noninteractive
RUN
apt-get update
-y
\
&&
apt-get
install
-y
git
software-properties-common openjdk-8-jdk ant
\
&&
apt-get
install
-y
git
maven curl
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
/tmp/
*
/var/tmp/
*
# Intall java
RUN
mkdir
-p
/opt
\
&&
curl
-SL
https://download.java.net/java/GA/jdk12.0.1/69cfe15208a647278a19ef0990eea691/12/GPL/openjdk-12.0.1_linux-x64_bin.tar.gz
\
|
tar
-xzC
/opt
ENV
JAVA_HOME=/opt/jdk-12.0.1
ENV
PATH=$JAVA_HOME/bin:$PATH
# Clone the repo
RUN
mkdir
/repo
&&
git clone
-b
version/2.5 https://github.com/Ensembl/ensembl-hive.git /repo/ensembl-hive
...
...
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