File: Dockerfile

package info (click to toggle)
abyss 2.3.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,284 kB
  • sloc: cpp: 78,182; ansic: 6,512; makefile: 2,252; perl: 672; sh: 509; haskell: 412; python: 4
file content (24 lines) | stat: -rw-r--r-- 786 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ubuntu:18.04
MAINTAINER Shaun Jackman <sjackman@gmail.com>

RUN apt-get update \
	&& apt-get install -y --no-install-recommends \
		bsdmainutils libgomp1 make openmpi-bin ssh sudo \
	&& useradd -m -s /bin/bash abyss \
	&& echo 'abyss ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
ADD . /tmp/abyss
RUN apt-get install -y --no-install-recommends \
		automake g++ libboost-dev libopenmpi-dev libsparsehash-dev \
	&& cd /tmp/abyss \
	&& ./autogen.sh \
	&& mkdir build && cd build \
	&& ../configure --with-mpi=/usr/lib/x86_64-linux-gnu/openmpi \
	&& make install-strip \
	&& rm -rf /tmp/abyss \
	&& apt-get autoremove -y binutils \
		automake g++ libboost-dev libopenmpi-dev libsparsehash-dev
USER abyss
WORKDIR /home/abyss
ENV SHELL=/bin/bash USER=abyss
ENTRYPOINT ["abyss-pe"]
CMD ["help"]