-
Notifications
You must be signed in to change notification settings - Fork 4
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 #50 from CCBR/fix_docker
revert: lofreq separate docker
- Loading branch information
Showing
6 changed files
with
80 additions
and
22 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
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,59 @@ | ||
FROM --platform=linux/amd64 ubuntu:22.04 | ||
|
||
# build time variables | ||
ARG BUILD_DATE="000000" | ||
ENV BUILD_DATE=${BUILD_DATE} | ||
ARG BUILD_TAG="000000" | ||
ENV BUILD_TAG=${BUILD_TAG} | ||
ARG REPONAME="000000" | ||
ENV REPONAME=${REPONAME} | ||
|
||
LABEL maintainer <[email protected]> | ||
|
||
# Create Container filesystem specific | ||
# working directory and opt directories | ||
|
||
# This section installs system packages required for your project | ||
# If you need extra system packages add them here. | ||
RUN apt-get update \ | ||
&& apt-get -y upgrade \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \ | ||
automake \ | ||
build-essential \ | ||
curl \ | ||
git \ | ||
gcc \ | ||
libbz2-dev \ | ||
libcurl4-gnutls-dev \ | ||
libgsl0-dev \ | ||
libperl-dev \ | ||
liblzma-dev \ | ||
libncurses5-dev \ | ||
libssl-dev \ | ||
python3-dev \ | ||
zlib1g-dev | ||
|
||
RUN ln -s /usr/bin/python3.10 /usr/bin/python | ||
|
||
WORKDIR /opt2 | ||
|
||
ARG htsversion=1.19 | ||
|
||
RUN curl -L https://github.com/samtools/htslib/releases/download/${htsversion}/htslib-${htsversion}.tar.bz2 | tar xj \ | ||
&& cd htslib-${htsversion} \ | ||
&& ./configure \ | ||
&& make \ | ||
&& make install | ||
|
||
RUN curl -L https://github.com/samtools/bcftools/releases/download/${htsversion}/bcftools-${htsversion}.tar.bz2 | tar xj \ | ||
&& cd bcftools-${htsversion} \ | ||
&& ./configure && make && make install | ||
|
||
RUN git clone https://github.com/CSB5/lofreq \ | ||
&& cd lofreq \ | ||
&& ./bootstrap \ | ||
&& ./configure --with-htslib=/usr/local \ | ||
&& make \ | ||
&& make install | ||
|
||
ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH |
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,5 @@ | ||
docker build --platform linux/amd64 --tag ccbr_lofreq:v0.0.1 -f Dockerfile . | ||
|
||
docker tag ccbr_lofreq:v0.0.1 dnousome/ccbr_lofreq:v0.0.1 | ||
docker push dnousome/ccbr_lofreq:v0.0.1 | ||
docker push dnousome/ccbr_lofreq:latest |
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,4 @@ | ||
dockerhub_namespace: dnousome | ||
image_name: ccbr_lofreq | ||
version: v0.0.1 | ||
container: "$(dockerhub_namespace)/$(image_name):$(version)" |
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 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