Commit 5b6b6c51 authored by Marian Heil's avatar Marian Heil

Library names in fedora

parent 6895348d
FROM ubuntu AS base
LABEL name "compilerenv"
# RUN yum -y install tar wget file which cmake3 deltarpm make && yum -y update && yum clean all
# Ubuntu:
RUN apt-get -y update && apt-get -y install tar wget file cmake deltarpm make \
python python-dev git autoconf libtool libgsl-dev zlib1g-dev libstdc++-7-dev && apt-get -y clean
# installing tzdata needs timezone
......@@ -8,6 +8,10 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get -y install tzdata \
&& ln -fs /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime \
&& dpkg-reconfigure --frontend noninteractive tzdata && apt-get -y clean
RUN ln -s $(which cmake) /usr/bin/cmake3
# Fedora:
# RUN yum -y update && yum -y install tar wget file which cmake3 deltarpm make \
# python2 python2-devel git autoconf libtool gsl-devel zlib-devel libstdc++-devel \
# tzdata && yum -y clean all
ENV MAIN_PREFIX /cvmfs/pheno.egi.eu/HEJ
......@@ -19,11 +23,12 @@ ENV GCC_PREFIX $MAIN_PREFIX/gcc_9
# Build docker
FROM base AS builder
# RUN . /root/.bashrc && yum -y update \
# && yum -y install xz bzip2 gcc-c++ zlib-devel tcl expect dejagnu binutils git \
# && yum clean all
# Ubuntu:
RUN . /root/.bashrc \
&& apt-get -y install bzip2 tcl expect dejagnu binutils xz-utils build-essential
# Fedora:
# RUN . /root/.bashrc \
# && yum -y install bzip2 tcl expect dejagnu binutils
ENV T_GCC_VERSION 9.2.0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment