diff --git a/Dockerfile.jesse b/Dockerfile.jesse deleted file mode 100644 index 3ed3938..0000000 --- a/Dockerfile.jesse +++ /dev/null @@ -1,41 +0,0 @@ -FROM debian:jessie - -MAINTAINER Erik Kastman, erik.kastman@gmail.com - -ENV DEBIAN_FRONTEND noninteractive - -# Add Additional System Utils -RUN apt-get update; \ - apt-get install -y openjdk-7-jre-headless file; \ - apt-get install -y gcc; \ - apt-get install -y make; \ - apt-get install -y unzip; \ - apt-get install -y wget; \ - apt-get install -y patch; \ - apt-get clean; - -# Add Bio Utils -RUN apt-get install -y bioperl=1.6.924-1; \ - apt-get install -y mcl=1:14-137-1; \ - apt-get install -y phylip=1:3.696+dfsg-1; \ - apt-get install -y mafft=7.205-1; \ - apt-get clean; - -WORKDIR / -COPY PGAP-1.12.tar.gz.md5 /PGAP-1.12.tar.gz.md5 -RUN wget https://downloads.sourceforge.net/project/pgap/PGAP-1.12/PGAP-1.12.tar.gz; \ - md5sum -c PGAP-1.12.tar.gz.md5; \ - tar xzf PGAP-1.12.tar.gz; \ - mv /PGAP-1.12 /pgap - -COPY updatePaths.patch /updatePaths.patch -RUN patch /pgap/PGAP.pl < /updatePaths.patch - -RUN rm /PGAP-1.12.tar.gz /updatePaths.patch - -RUN (echo y;echo o conf prerequisites_policy follow;echo o conf commit)|cpan; \ - cpan Bio::Phylo; \ - cpan Inline::C; \ - cpan Bio::AlignIO; \ - cpan Statistics::LineFit; \ - cpan Statistics::Distributions; \ diff --git a/Dockerfile.walter_update b/Dockerfile.walter_update new file mode 100644 index 0000000..6bedcf6 --- /dev/null +++ b/Dockerfile.walter_update @@ -0,0 +1,60 @@ +# Lembrem de criar a imagem no mesmo diretorio em que estiver os arquivos PGAP-1.12.md5 e updatePaths.patch +# Remember to run the image creation in the same directory as the PGAP-1.12.md5 and updatePaths.patch files +# Base image from Ubuntu 22.04 +# Imagem base do Ubuntu 22.04 +FROM ubuntu:22.04 + +# Disable interactive prompts during package installation +# Desabilitar prompts interativos durante a instalação de pacotes +ENV DEBIAN_FRONTEND=noninteractive + +# Update package list and install system utilities +# Atualizar lista de pacotes e instalar utilitários do sistema +RUN apt-get update && \ + apt-get install -y openjdk-8-jre-headless file gcc make unzip wget patch && \ + apt-get clean + +# Install bioinformatics utilities +# Instalar utilitários de bioinformática +RUN apt-get install -y bioperl mcl phylip mafft && \ + apt-get clean + +# Set the working directory to root +# Definir o diretório de trabalho para a raiz +WORKDIR / + +# Copy the PGAP checksum file into the container +# Copiar o arquivo de checksum do PGAP para o contêiner +COPY PGAP-1.12.md5 /PGAP-1.12.md5 + +# Download, verify, and extract PGAP +# Baixar, verificar e extrair o PGAP +RUN wget https://downloads.sourceforge.net/project/pgap/PGAP-1.12/PGAP-1.12.tar.gz && \ + md5sum -c PGAP-1.12.md5 && \ + tar xzf PGAP-1.12.tar.gz && \ + mv /PGAP-1.12 /pgap + +# Copy the patch file into the container +# Copiar o arquivo de patch para o contêiner +COPY updatePaths.patch /updatePaths.patch + +# Apply the patch to PGAP +# Aplicar o patch no PGAP +RUN patch /pgap/PGAP.pl < /updatePaths.patch + +# Remove downloaded files to clean up +# Remover arquivos baixados para limpeza +RUN rm /PGAP-1.12.tar.gz /updatePaths.patch + +# Install Perl modules needed by PGAP +# Instalar módulos Perl necessários para o PGAP +RUN (echo y; echo o conf prerequisites_policy follow; echo o conf commit) | cpan && \ + cpan Bio::Phylo && \ + cpan Inline::C && \ + cpan Bio::AlignIO && \ + cpan Statistics::LineFit && \ + cpan Statistics::Distributions + +# Keep the container running by tailing /dev/null +# Manter o contêiner em execução exibindo /dev/null +CMD ["tail", "-f", "/dev/null"]