-
Notifications
You must be signed in to change notification settings - Fork 11
/
Dockerfile
37 lines (34 loc) · 1.2 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
##### BASE IMAGE #####
FROM ubuntu:18.04
##### METADATA #####
LABEL base.image="ubuntu:18.04"
LABEL version="1"
LABEL software="Sanity"
LABEL software.version="1.0"
LABEL software.description="Sanity"
LABEL software.website=""
LABEL software.documentation="https://github.com/jmbreda/Sanity"
LABEL software.license=""
LABEL software.tags="Genomics, Transcriptomics"
LABEL maintainer="jeremie.breda@unibas.ch"
LABEL maintainer.organisation="Biozentrum, University of Basel"
LABEL maintainer.location="Klingelbergstrasse 50/70, CH-4056 Basel, Switzerland"
LABEL maintainer.lab=""
LABEL maintainer.license="https://spdx.org/licenses/Apache-2.0"
##### VARIABLES #####
# Use variables for convenient updates/re-usability
ENV SOFTWARE_VERSION 1.0
RUN apt-get update \
&& apt-get install -y tzdata \
&& ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime \
&& dpkg-reconfigure --frontend noninteractive tzdata \
&& apt-get install --yes git make g++ libgomp1 \
&& git clone https://github.com/jmbreda/Sanity.git \
&& cd Sanity \
&& cd src \
&& make \
&& cp ../bin/Sanity /usr/bin \
&& cd ../../ \
&& rm -rf Sanity \
&& apt-get remove --purge --yes git make g++ \
&& apt-get autoremove --purge --yes