Skip to content

Commit

Permalink
Add python
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswyatt1 committed Oct 22, 2024
1 parent 26afc7a commit f228591
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions genomeqc_tree/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
FROM rocker/r-base:4.3.3

# Install required system packages
# Install required system packages including Python
RUN apt-get update && \
apt-get install -y procps curl libxml2-dev libssl-dev libcurl4-openssl-dev && \
apt-get install -y procps curl libxml2-dev libssl-dev libcurl4-openssl-dev python3 python3-pip && \
apt-get clean -y && rm -rf /var/lib/apt/lists/*

# Install R packages and BiocManager
RUN Rscript -e "install.packages(c('R.utils', 'BiocManager', 'dplyr', 'ggplot2', 'cowplot', 'argparse'))"
RUN Rscript -e "install.packages(c('R.utils', 'BiocManager', 'dplyr', 'ggplot2', 'cowplot'))"

# Install ggtree using BiocManager
RUN Rscript -e "BiocManager::install('ggtree', update = TRUE, ask = FALSE)"

# Set up default command
CMD ["R"]

0 comments on commit f228591

Please sign in to comment.