-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from AlgoLab/issue-#7
Issue #7
- Loading branch information
Showing
3 changed files
with
68 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
FROM ubuntu:18.04 | ||
|
||
## for apt to be noninteractive | ||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV DEBCONF_NONINTERACTIVE_SEEN true | ||
|
||
RUN apt update -qqy | ||
RUN apt-get install -qqy apt-utils | ||
|
||
RUN echo 'tzdata tzdata/Areas select Etc' | debconf-set-selections; \ | ||
echo 'tzdata tzdata/Zones/Etc select UTC' | debconf-set-selections; \ | ||
apt-get install -qqy --no-install-recommends tzdata | ||
|
||
## preesed tzdata, update package index, upgrade packages and install needed software | ||
RUN apt-get install -qqy \ | ||
build-essential \ | ||
ca-certificates \ | ||
cmake \ | ||
dirmngr \ | ||
git \ | ||
make \ | ||
python3 \ | ||
python3-biopython \ | ||
python3-biopython-sql \ | ||
python3-pandas \ | ||
python3-pip \ | ||
python3-pysam \ | ||
python3-setuptools \ | ||
samtools \ | ||
wget \ | ||
zlib1g-dev | ||
RUN apt-get clean | ||
RUN pip3 install gffutils | ||
|
||
|
||
# Install gosu | ||
ENV GOSU_VERSION 1.12 | ||
RUN set -eux; \ | ||
dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; \ | ||
wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; \ | ||
chmod +x /usr/local/bin/gosu; \ | ||
# verify that the binary works | ||
gosu --version; \ | ||
gosu nobody true | ||
|
||
RUN git clone --recursive https://github.com/AlgoLab/galig.git | ||
RUN cd galig ; make prerequisites | ||
RUN cd galig ; make | ||
|
||
VOLUME ["/data"] | ||
COPY asgal-docker.sh /galig/asgal-docker.sh | ||
ENV PATH=$PATH:/galig/asgal | ||
ENTRYPOINT ["/galig/asgal-docker.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.