awips2/build/awips-ade/Dockerfile.awips-ade.el7

34 lines
1.3 KiB
Text
Raw Normal View History

2018-07-05 11:53:39 -06:00
FROM awips-devel:el7
ENV VERSION 18.1.1
ENV RELEASE 1
MAINTAINER Michael James <mjames@ucar.edu>
USER root
RUN yum update yum -y
RUN groupadd fxalpha && useradd -G fxalpha awips
RUN yum groupinstall "Development tools" -y
RUN yum install epel-release -y
RUN yum clean all -y
2017-11-15 16:56:01 -07:00
ENV systemDeps="wget rsync git net-tools"
ENV rpmDeps="gcc gcc-c++ rpm-build readline-devel createrepo"
ENV qpidDeps="boost-devel cmake make ruby libuuid-devel"
ENV pythonDeps="tk-devel tcl-devel atlas-devel compat-libf2c-34 libgfortran geos-devel libpng-devel freetype"
ENV awipsDeps="netcdf netcdf-devel hdf5-devel lzo-devel bzip2-devel qt-devel"
ENV httpDeps="autoconf findutils libselinux-devel libxml2-devel lua-devel openldap-devel openssl-devel pcre-devel pkgconfig perl zlib-devel apr-util-devel apr-devel"
RUN yum install $systemDeps $rpmDeps $qpidDeps $pythonDeps $awipsDeps $httpDeps -y
2017-12-21 09:32:35 -07:00
RUN wget -O /etc/yum.repos.d/awips2.repo https://www.unidata.ucar.edu/software/awips2/doc/el7-dev.repo
RUN yum -y clean all
RUN yum groupinstall awips2-ade -y
RUN mkdir -p /awips2/jenkins/buildspace/workspace/AWIPS2-UPC_build/baseline && mkdir -p /awips2/jenkins/buildspace/workspace/tmp
2018-07-05 11:53:39 -06:00
RUN mkdir -p /awips2/jenkins/build/rpms/awips2_latest/{x86_64,noarch}/
RUN chown -R awips:fxalpha /awips2/jenkins/
ENTRYPOINT ["/bin/bash"]