From a475b05a6e17349d61ad60fd5e3cc1ef0ca36955 Mon Sep 17 00:00:00 2001 From: Toni Hermoso Pulido Date: Fri, 25 Aug 2023 11:15:59 +0200 Subject: [PATCH] rming from main, using branches --- base/Dockerfile | 45 ------------------------------------------ base/entrypoint.sh | 6 ------ pyenv3-java/Dockerfile | 25 ----------------------- pyenv3/Dockerfile | 30 ---------------------------- 4 files changed, 106 deletions(-) delete mode 100644 base/Dockerfile delete mode 100644 base/entrypoint.sh delete mode 100644 pyenv3-java/Dockerfile delete mode 100644 pyenv3/Dockerfile diff --git a/base/Dockerfile b/base/Dockerfile deleted file mode 100644 index 9e6b43a..0000000 --- a/base/Dockerfile +++ /dev/null @@ -1,45 +0,0 @@ -FROM almalinux:8 - -# File Author / Maintainer -MAINTAINER Toni Hermoso Pulido - -ARG PERLBREW_ROOT=/usr/local/perl -ARG PERL_VERSION=5.28.2 -# Enable perl build options. Example: --build-arg PERL_BUILD="--thread --debug" -ARG PERL_BUILD=--thread - -# Base Perl and builddep -RUN yum update -y -RUN yum install -y perl yum-utils -RUN yum-builddep -y perl -RUN yum install -y bzip2 zip procps -RUN yum groupinstall -y 'Development Tools' - -RUN mkdir -p $PERLBREW_ROOT - -RUN bash -c '\curl -L https://install.perlbrew.pl | bash' - -ENV PATH $PERLBREW_ROOT/bin:$PATH -ENV PERLBREW_PATH $PERLBREW_ROOT/bin - -RUN perlbrew --notest install $PERL_BUILD perl-$PERL_VERSION -RUN perlbrew install-cpanm -RUN bash -c 'source $PERLBREW_ROOT/etc/bashrc' - -ENV PERLBREW_ROOT $PERLBREW_ROOT -ENV PATH $PERLBREW_ROOT/perls/perl-$PERL_VERSION/bin:$PATH -ENV PERLBREW_PERL perl-$PERL_VERSION -ENV PERLBREW_MANPATH $PELRBREW_ROOT/perls/perl-$PERL_VERSION/man -ENV PERLBREW_SKIP_INIT 1 - -RUN ln -s $PERLBREW_ROOT/perls/perl-$PERL_VERSION/bin/perl /usr/local/bin/perl - -# Clean cache -RUN yum clean all - -# Workdir place -RUN mkdir -p /project -WORKDIR /project - -#ENTRYPOINT ["./entrypoint.sh"] - diff --git a/base/entrypoint.sh b/base/entrypoint.sh deleted file mode 100644 index 1728e9c..0000000 --- a/base/entrypoint.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -PERL_SELECTION="$(perlbrew list)" -PERL_VERSION=${PERL_SELECTION#\* } -perlbrew switch $PERL_VERSION - diff --git a/pyenv3-java/Dockerfile b/pyenv3-java/Dockerfile deleted file mode 100644 index c6e6227..0000000 --- a/pyenv3-java/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM biocorecrg/almalinux-perlbrew-pyenv3:8 - -# File Author / Maintainer -MAINTAINER Toni Hermoso Pulido -MAINTAINER Luca Cozzuto - -ARG JAVA_VERSION=11 -ARG MAVEN_VERSION=3.6.3 - -ENV JAVA_HOME /usr/lib/jvm/java-openjdk - -RUN yum update -y -# Install Java -RUN yum install -y java-$JAVA_VERSION-openjdk java-$JAVA_VERSION-openjdk-devel -# Install maven - -RUN cd /usr/local; curl --fail --silent --show-error --location --remote-name https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz - -RUN cd /usr/local; tar zxf apache-maven-$MAVEN_VERSION-bin.tar.gz -RUN cd /usr/local; rm apache-maven-$MAVEN_VERSION-bin.tar.gz -RUN cd /usr/local; ln -s /usr/local/apache-maven-$MAVEN_VERSION/bin/mvn /usr/local/bin/mvn - -# Clean cache -RUN yum clean all - diff --git a/pyenv3/Dockerfile b/pyenv3/Dockerfile deleted file mode 100644 index 3bca19b..0000000 --- a/pyenv3/Dockerfile +++ /dev/null @@ -1,30 +0,0 @@ -FROM biocorecrg/almalinux-perlbrew:8 - -# File Author / Maintainer -MAINTAINER Toni Hermoso Pulido -MAINTAINER Luca Cozzuto - -ARG PYENV_ROOT=/usr/local/python -ARG PYTHON_VERSION=3.7.4 - -ENV PYENV_ROOT $PYENV_ROOT - -RUN bash -c 'curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash' - -ENV PATH $PYENV_ROOT/bin:$PATH -ENV PYTHON_VERSION $PYTHON_VERSION - -RUN yum install -y readline readline-devel sqlite sqlite-devel openssl openssl-devel openssl-libs tk-devel xz xz-devel libffi-devel findutils bzip2 bzip2-devel - -RUN pyenv install $PYTHON_VERSION - -ENV PATH="$PYENV_ROOT/shims:$PYENV_ROOT/versions/$PYTHON_VERSION/bin:$PATH" - -RUN ln -s $PYENV_ROOT/versions/$PYTHON_VERSION/bin/python /usr/local/bin/python -RUN ln -s $PYENV_ROOT/versions/$PYTHON_VERSION/bin/python3 /usr/local/bin/python3 -RUN ln -s $PYENV_ROOT/versions/$PYTHON_VERSION/bin/pip /usr/local/bin/pip -RUN ln -s $PYENV_ROOT/versions/$PYTHON_VERSION/bin/pip3 /usr/local/bin/pip3 - -# Clean cache -RUN yum clean all -