Debian Codegraph @

Dockerfile

raw
1 FROM ubuntu:18.04
2 MAINTAINER Shaun Jackman <[email protected]>
3
4 RUN apt-get update \
5 && apt-get install -y --no-install-recommends \
6 bsdmainutils libgomp1 make openmpi-bin ssh sudo \
7 && useradd -m -s /bin/bash abyss \
8 && echo 'abyss ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
9 ADD . /tmp/abyss
10 RUN apt-get install -y --no-install-recommends \
11 automake g++ libboost-dev libopenmpi-dev libsparsehash-dev \
12 && cd /tmp/abyss \
13 && ./autogen.sh \
14 && mkdir build && cd build \
15 && ../configure --with-mpi=/usr/lib/x86_64-linux-gnu/openmpi \
16 && make install-strip \
17 && rm -rf /tmp/abyss \
18 && apt-get autoremove -y binutils \
19 automake g++ libboost-dev libopenmpi-dev libsparsehash-dev
20 USER abyss
21 WORKDIR /home/abyss
22 ENV SHELL=/bin/bash USER=abyss
23 ENTRYPOINT ["abyss-pe"]
24 CMD ["help"]