Skip to content

Commit 807ef4c

Browse files
authored
Merge pull request #3 from heuermh/master
adding maven3-openjdk8 and miniconda3
2 parents 7c5ce3d + 1d7e9e1 commit 807ef4c

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

maven3-openjdk8/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM openjdk:8-jdk
2+
3+
ARG MAVEN_VERSION=3.6.0
4+
ARG SHA=fae9c12b570c3ba18116a4e26ea524b29f7279c17cbaadc3326ca72927368924d9131d11b9e851b8dc9162228b6fdea955446be41207a5cfc61283dd8a561d2f
5+
ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/${MAVEN_VERSION}/binaries
6+
7+
RUN mkdir -p /usr/share/maven /usr/share/maven/ref \
8+
&& curl -fsSL -o /tmp/apache-maven.tar.gz ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz \
9+
&& echo "${SHA} /tmp/apache-maven.tar.gz" | sha512sum -c - \
10+
&& tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1 \
11+
&& rm -f /tmp/apache-maven.tar.gz \
12+
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM bigdatagenomics/maven3-openjdk8
2+
3+
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
4+
ENV PATH /opt/conda/bin:$PATH
5+
6+
RUN apt-get update --fix-missing && \
7+
apt-get install -y wget bzip2 ca-certificates curl git && \
8+
apt-get clean && \
9+
rm -rf /var/lib/apt/lists/*
10+
11+
RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh -O ~/miniconda.sh && \
12+
/bin/bash ~/miniconda.sh -b -p /opt/conda && \
13+
rm ~/miniconda.sh && \
14+
/opt/conda/bin/conda clean -tipsy && \
15+
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
16+
echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
17+
echo "conda activate base" >> ~/.bashrc

0 commit comments

Comments
 (0)