-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
255 additions
and
302 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 |
---|---|---|
|
@@ -5,3 +5,5 @@ | |
/*.* | ||
/LICENSE | ||
/scripts/timeCleaner.pl | ||
/venv | ||
/local |
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
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 |
---|---|---|
@@ -1,94 +1,17 @@ | ||
FROM quay.io/wtsicgp/dockstore-cgpbigwig:2.1.1 as builder | ||
|
||
USER root | ||
|
||
RUN apt-get -yq update | ||
RUN apt-get install -yq --no-install-recommends\ | ||
apt-transport-https\ | ||
locales\ | ||
curl\ | ||
ca-certificates\ | ||
libperlio-gzip-perl\ | ||
make\ | ||
bzip2\ | ||
gcc\ | ||
psmisc\ | ||
time\ | ||
zlib1g-dev\ | ||
libbz2-dev\ | ||
liblzma-dev\ | ||
libcurl4-gnutls-dev\ | ||
libncurses5-dev\ | ||
nettle-dev\ | ||
libp11-kit-dev\ | ||
libtasn1-dev\ | ||
libgnutls-dev\ | ||
libgd-dev\ | ||
libdb-dev | ||
|
||
RUN locale-gen en_US.UTF-8 | ||
RUN update-locale LANG=en_US.UTF-8 | ||
|
||
ENV OPT /opt/wtsi-cgp | ||
ENV PATH $OPT/bin:$OPT/biobambam2/bin:$PATH | ||
ENV PERL5LIB $OPT/lib/perl5 | ||
ENV LD_LIBRARY_PATH $OPT/lib | ||
ENV LC_ALL en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
|
||
RUN mkdir -p $OPT/bin | ||
|
||
ADD build/opt-build.sh build/ | ||
RUN bash build/opt-build.sh $OPT | ||
|
||
FROM ubuntu:16.04 | ||
|
||
MAINTAINER [email protected] | ||
FROM quay.io/wtsicgp/pcap-core:5.4.0 | ||
|
||
LABEL vendor="Cancer, Ageing and Somatic Mutation, Wellcome Trust Sanger Institute" | ||
LABEL maintainer="[email protected]" | ||
LABEL uk.ac.sanger.cgp.description="PCAP-core for dockstore.org" | ||
LABEL uk.ac.sanger.cgp.version="3.1.4" | ||
|
||
RUN apt-get -yq update | ||
RUN apt-get install -yq --no-install-recommends \ | ||
apt-transport-https \ | ||
locales \ | ||
curl \ | ||
ca-certificates \ | ||
libperlio-gzip-perl \ | ||
bzip2 \ | ||
psmisc \ | ||
time \ | ||
zlib1g \ | ||
liblzma5 \ | ||
libncurses5 \ | ||
p11-kit \ | ||
unattended-upgrades && \ | ||
unattended-upgrade -d -v && \ | ||
apt-get remove -yq unattended-upgrades && \ | ||
apt-get autoremove -yq | ||
LABEL uk.ac.sanger.cgp.version="3.2.0" | ||
|
||
RUN locale-gen en_US.UTF-8 | ||
RUN update-locale LANG=en_US.UTF-8 | ||
|
||
ENV OPT /opt/wtsi-cgp | ||
ENV PATH $OPT/bin:$OPT/biobambam2/bin:$PATH | ||
ENV PERL5LIB $OPT/lib/perl5 | ||
ENV LD_LIBRARY_PATH $OPT/lib | ||
ENV LC_ALL en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
|
||
RUN mkdir -p $OPT | ||
COPY --from=builder $OPT $OPT | ||
USER root | ||
|
||
ADD scripts/mapping.sh $OPT/bin/mapping.sh | ||
ADD scripts/ds-cgpmap.pl $OPT/bin/ds-cgpmap.pl | ||
RUN chmod a+x $OPT/bin/mapping.sh $OPT/bin/ds-cgpmap.pl | ||
|
||
## USER CONFIGURATION | ||
RUN adduser --disabled-password --gecos '' ubuntu && chsh -s /bin/bash && mkdir -p /home/ubuntu | ||
RUN chmod +rx $OPT/bin/mapping.sh $OPT/bin/ds-cgpmap.pl | ||
|
||
USER ubuntu | ||
USER ubuntu | ||
WORKDIR /home/ubuntu | ||
|
||
CMD ["/bin/bash"] |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.