-
Notifications
You must be signed in to change notification settings - Fork 125
/
Dockerfile
32 lines (26 loc) · 918 Bytes
/
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
# base image
FROM ubuntu:xenial
# metadata
LABEL base.image="ubuntu:xenial"
LABEL version="1"
LABEL software="rasusa"
LABEL software.version="0.1.0"
LABEL description="Randomly subsample sequencing reads to a specified coverage."
LABEL website="https://github.com/mbhall88/rasusa"
LABEL license="https://github.com/mbhall88/rasusa/blob/master/LICENSE"
LABEL maintainer="Jake Garfin"
LABEL maintainer.email="[email protected]"
# install dependencies
RUN apt-get update && apt-get -y install \
wget && apt-get clean
# install rasusa
RUN mkdir rasusa && \
cd rasusa && \
wget https://github.com/mbhall88/rasusa/releases/download/0.1.0/rasusa-0.1.0-x86_64-unknown-linux-musl.tar.gz && \
tar -xvf rasusa-0.1.0-x86_64-unknown-linux-musl.tar.gz && \
rm -rf rasusa-0.1.0-x86_64-unknown-linux-musl.tar.gz && \
mkdir /data
ENV PATH="${PATH}:/rasusa"
# set perl locale settings
ENV LC_ALL=C
WORKDIR /data