Dockerfile 652 Bytes
Newer Older
Laurent Modolo's avatar
Laurent Modolo committed
1
FROM debian:jessie
Laurent Modolo's avatar
Laurent Modolo committed
2
3
MAINTAINER Laurent Modolo

Laurent Modolo's avatar
Laurent Modolo committed
4
5
ENV PACKAGES apt-utils \
             curl \
Laurent Modolo's avatar
Laurent Modolo committed
6
7
8
9
10
             build-essential \
             libssl-dev \
             libpng-dev \
             uuid-dev \
             libmysqlclient-dev \
11
             procps \
Laurent Modolo's avatar
Laurent Modolo committed
12
13
             rsync

Laurent Modolo's avatar
Laurent Modolo committed
14

Laurent Modolo's avatar
Laurent Modolo committed
15
16
RUN apt-get update && \
    apt-get install -y ${PACKAGES}
Laurent Modolo's avatar
Laurent Modolo committed
17

Laurent Modolo's avatar
Laurent Modolo committed
18
ENV UCSC_VERSION=375
Laurent Modolo's avatar
Laurent Modolo committed
19

Laurent Modolo's avatar
Laurent Modolo committed
20
21
22
RUN curl -k -L http://hgdownload.soe.ucsc.edu/admin/exe/userApps.v${UCSC_VERSION}.src.tgz -o userApps.v${UCSC_VERSION}.src.tgz &&\
tar xvf userApps.v${UCSC_VERSION}.src.tgz &&\
cd userApps/ && \
23
24
25
26
make &&\
mv userApps/bin/* /usr/bin/ &&\
rm -R userApps.v${UCSC_VERSION}.src.tgz &&\
rm -R userApps