Skip to content

Commit

Permalink
Update Dockerfile blast
Browse files Browse the repository at this point in the history
  • Loading branch information
lfdelzam authored Jan 7, 2024
1 parent cf2237f commit cec9605
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ FROM rocker/shiny:latest
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git libxml2-dev libmagick++-dev \
wget libgomp1 \
libcurl4-gnutls-dev \
libssl-dev \
libcurl4-openssl-dev \
Expand All @@ -14,6 +15,13 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

#Install Blast
#FROM ncbi/blast:2.13.0 #Before

RUN wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.13.0/ncbi-blast-2.13.0+-x64-linux.tar.gz -O /tmp/blast.tar.gz && \
tar zxvf /tmp/blast.tar.gz -C /opt/ && rm /tmp/blast.tar.gz

ENV PATH="/opt/ncbi-blast-2.13.0+/bin:${PATH}"

# Install Basic Utility R Packages

Expand All @@ -32,8 +40,6 @@ RUN R -e "remotes::install_version('vembedr', version = '0.1.5', dependencies= T
RUN R -e "remotes::install_version('multidplyr', version = '0.1.3', dependencies= T)"
RUN R -e "remotes::install_version('shinybusy', version = '0.3.1', dependencies= T)"

FROM ncbi/blast:2.13.0

RUN rm -rf /srv/shiny-server/* COPY /app/* /srv/shiny-server/

USER shiny
Expand Down

0 comments on commit cec9605

Please sign in to comment.