File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
miniconda3-maven3-openjdk8 Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments