tools/Dockerfile.centos73
Dean Troyer 62bd0253f0 Add build tools
This includes Docker containers to perform the StarlingX build
and a set of scripts to maintain a local mirror of binary CentOS
and other packages required to populate the final ISO file.

Change-Id: I8140fd8fa2d00e7aa98c895a8e4962ab3748669d
2018-06-08 17:01:43 -05:00

32 lines
1.4 KiB
Docker

# Basic software build CentOS 7.3
FROM centos:7.3.1611
RUN yum install -y epel-release && \
yum install -y lighttpd lighttpd-fastcgi lighttpd-mod_geoip \
sudo systemd \
anaconda anaconda-help anaconda-runtime bc python-psutil createrepo /usr/bin/yumdownloader \
/usr/bin/mkisofs git quilt pax perl-CPAN gcc expat-devel syslinux udisks2 rpm-build rpm-sign deltarpm \
python-deltarpm rpm-python cpanminus wget \
bind bind-utils squashfs-tools
# cpan modules, installing with cpanminus to avoid stupid questions since cpan is whack
RUN cpanm --notest Fatal && \
cpanm --notest XML::SAX && \
cpanm --notest XML::SAX::Expat && \
cpanm --notest XML::Parser && \
cpanm --notest XML::Simple
# don't know if these need to be after the cpan installs or not. putting here due to order in instructions
RUN yum install -y vim-enhanced openssl-devel gettext mongodb mongodb-server mariadb-devel python-testrepository \
python-tox python-pep8 python-pip postgresql postgresql-devel python-devel libxml2 libxml2-devel libxslt-devel \
libffi-devel sqlite-devel openldap-devel libvirt-devel python-subunit qemu-kvm
# pip installs
RUN pip install python-subunit junitxml --upgrade && \
pip install tox --upgrade
# Install repo tool
RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo && \
chmod a+x /usr/local/bin/repo