summaryrefslogtreecommitdiffstats
path: root/redhat/docker/el6
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/docker/el6')
-rw-r--r--redhat/docker/el6/Dockerfile.i68630
-rw-r--r--redhat/docker/el6/Dockerfile.x86_6430
-rw-r--r--redhat/docker/el6/centos-6.repo30
-rw-r--r--redhat/docker/el6/epel-6.repo5
-rw-r--r--redhat/docker/el6/packages.base6
-rw-r--r--redhat/docker/el6/packages.trinity208
-rw-r--r--redhat/docker/el6/repoforge-6.repo5
-rw-r--r--redhat/docker/el6/rpmbuild.repo11
-rw-r--r--redhat/docker/el6/rpmmacros5
9 files changed, 330 insertions, 0 deletions
diff --git a/redhat/docker/el6/Dockerfile.i686 b/redhat/docker/el6/Dockerfile.i686
new file mode 100644
index 000000000..e8e4dbb8d
--- /dev/null
+++ b/redhat/docker/el6/Dockerfile.i686
@@ -0,0 +1,30 @@
+FROM centos32:6
+
+ARG TDE_VERSION=14.0.5
+ARG ARCH=i686
+
+RUN echo "proxy=http://proxy:3128" >>/etc/yum.conf
+
+# Add EPEL repository
+RUN yum -y install epel-release
+
+# Add NUX repository
+RUN rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
+
+# Install Trinity build dependencies
+ADD packages.trinity /packages
+RUN setarch ${ARCH} yum -y update
+RUN setarch ${ARCH} yum -y install $(</packages)
+
+# Add YUM repository for locally built packages
+WORKDIR /etc/yum.repos.d
+ADD rpmbuild.repo rpmbuild.repo
+RUN sed -i "rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE_VERSION}|g"
+
+# Add non-root user to build packages
+RUN useradd -m -s /bin/bash -u 1000 trinity
+RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
+ADD rpmmacros /home/trinity/.rpmmacros
+
+# Distro-specific patches
+RUN sed -i "/usr/include/jasper/jas_math.h" -e "/#include <stdint.h>/ s|$|\n#ifndef SIZE_MAX\n#define SIZE_MAX ((size_t) -1)\n#endif\n|"
diff --git a/redhat/docker/el6/Dockerfile.x86_64 b/redhat/docker/el6/Dockerfile.x86_64
new file mode 100644
index 000000000..9b845631f
--- /dev/null
+++ b/redhat/docker/el6/Dockerfile.x86_64
@@ -0,0 +1,30 @@
+FROM centos:6
+
+ARG TDE_VERSION=14.0.5
+ARG ARCH=x86_64
+
+RUN echo "proxy=http://proxy:3128" >>/etc/yum.conf
+
+# Add EPEL repository
+RUN yum -y install epel-release
+
+# Add NUX repository
+RUN rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
+
+# Install Trinity build dependencies
+ADD packages.trinity /packages
+RUN yum -y update
+RUN yum -y install $(</packages)
+
+# Add YUM repository for locally built packages
+WORKDIR /etc/yum.repos.d
+ADD rpmbuild.repo rpmbuild.repo
+RUN sed -i "rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE_VERSION}|g"
+
+# Add non-root user to build packages
+RUN useradd -m -s /bin/bash -u 1000 trinity
+RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
+ADD rpmmacros /home/trinity/.rpmmacros
+
+# Distro-specific patches
+RUN sed -i "/usr/include/jasper/jas_math.h" -e "/#include <stdint.h>/ s|$|\n#ifndef SIZE_MAX\n#define SIZE_MAX ((size_t) -1)\n#endif\n|"
diff --git a/redhat/docker/el6/centos-6.repo b/redhat/docker/el6/centos-6.repo
new file mode 100644
index 000000000..a00a85ad5
--- /dev/null
+++ b/redhat/docker/el6/centos-6.repo
@@ -0,0 +1,30 @@
+[centos-6-base]
+name=CentOS-6 - Base
+baseurl=http://repo/repo/centos/6/os/$basearch/
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+enabled=1
+
+#released updates
+[centos-6-updates]
+name=CentOS-6 - Updates
+baseurl=http://repo/repo/centos/6/updates/$basearch/
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+enabled=1
+
+#additional packages that may be useful
+[centos-6-extras]
+name=CentOS-6 - Extras
+baseurl=http://repo/repo/centos/6/extras/$basearch/
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+enabled=1
+
+#additional packages that extend functionality of existing packages
+[centos-6-centosplus]
+name=CentOS-6 - Plus
+baseurl=http://repo/repo/centos/6/centosplus/$basearch/
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+enabled=1
diff --git a/redhat/docker/el6/epel-6.repo b/redhat/docker/el6/epel-6.repo
new file mode 100644
index 000000000..24134a301
--- /dev/null
+++ b/redhat/docker/el6/epel-6.repo
@@ -0,0 +1,5 @@
+[epel]
+name=epel
+baseurl=http://repo/repo/epel/6/$basearch/
+enabled=1
+gpgcheck=0
diff --git a/redhat/docker/el6/packages.base b/redhat/docker/el6/packages.base
new file mode 100644
index 000000000..7765aa5df
--- /dev/null
+++ b/redhat/docker/el6/packages.base
@@ -0,0 +1,6 @@
+bash
+perl
+setarch
+vim-enhanced
+yum
+yum-plugin-ovl
diff --git a/redhat/docker/el6/packages.trinity b/redhat/docker/el6/packages.trinity
new file mode 100644
index 000000000..4ee743b2a
--- /dev/null
+++ b/redhat/docker/el6/packages.trinity
@@ -0,0 +1,208 @@
+alsa-lib-devel
+aspell
+aspell-devel
+audiofile-devel
+autotrace
+avahi-devel
+bind-devel
+binutils-devel
+bison
+boost-devel
+bzip2-devel
+ccache
+ccrtp-devel
+cdparanoia
+cdparanoia-devel
+chmlib-devel
+chrpath
+clamav
+clamav-devel
+clucene-core-devel
+cmake
+commoncpp2-devel
+cpp
+cppunit-devel
+createrepo
+cryptsetup-luks-devel
+cups-devel
+db4-devel
+dbus-glib-devel
+djvulibre
+djvulibre-devel
+doxygen
+e2fsprogs-devel
+emacs
+esound-devel
+exempi-devel
+exiv2-devel
+fdupes
+ffmpeg-devel
+fftw-devel
+file-devel
+flac-devel
+flex-devel
+fontpackages-devel
+fribidi-devel
+gamin-devel
+gcc
+gcc-c++
+gcc-gfortran
+gcc-java
+gettext-devel
+glib-devel
+gmime-devel
+gmp-devel
+gnokii-devel
+gperf
+gpgme-devel
+gphoto2-devel
+GraphicsMagick-devel
+gsl-devel
+gstreamer-devel
+gstreamer-plugins-base-devel
+gtk2-devel
+gtk+-devel
+gtk-doc
+guile-devel
+hal-devel
+heimdal-devel
+hspell-devel
+htdig
+html2ps
+icu
+ImageMagick-devel
+imake
+imlib-devel
+imlib2-devel
+intltool
+jack-audio-connection-kit-devel
+jasper-devel
+java-1.4.2-gcj-compat-devel
+java-1.6.0-openjdk-devel
+java-1.7.0-openjdk-devel
+java-devel
+java-openjdk
+lame-devel
+lcms-devel
+libacl-devel
+libarchive-devel
+libart_lgpl-devel
+libblkid-devel
+libcap-devel
+libcdio-devel
+libconfig-devel
+libcurl-devel
+libdvdread-devel
+libfontenc-devel
+libgcj-devel
+libgpod-devel
+libgsf-devel
+libgssapi-devel
+libical-devel
+libidn-devel
+liblo-devel
+libmad-devel
+libmng-devel
+libmp4v2-devel
+libmpcdec-devel
+libmtp-devel
+libmusicbrainz-devel
+libofx-devel
+libogg-devel
+libotr-devel
+libpaper-devel
+libraw1394-devel
+libsamplerate-devel
+libsmbclient-devel
+libsndfile-devel
+libssh2-devel
+libtheora-devel
+libtiff-devel
+libtool
+libtool-ltdl-devel
+libudev-devel
+libutempter-devel
+libv4l-devel
+libvisual-devel
+libvorbis-devel
+libwmf-devel
+libwpd-devel
+libXaw-devel
+libXcomposite-devel
+libXdamage-devel
+libXdmcp-devel
+libxkbfile-devel
+libXScrnSa
+libXScrnSaver-devel
+libxslt-devel
+libXtst-devel
+libXv-devel
+libXxf86dga-devel
+libXxf86vm-devel
+libzrtpcpp-devel
+lirc-devel
+lm_sensors-devel
+meanwhile-devel
+mysql-devel
+nas-devel
+neon-devel
+netpbm-progs
+net-snmp-devel
+net-tools
+NetworkManager-glib-devel
+ocaml
+ocaml(compiler)
+OpenEXR-devel
+openldap-devel
+opensc
+openslp-devel
+opensp-devel
+pam-devel
+pciutils-devel
+pcre-devel
+pcsc-lite-devel
+perl
+perl-devel
+perl(ExtUtils::MakeMaker)
+perl(XML::Parser)
+pilot-link-devel
+pkcs11-helper-devel
+poppler-devel
+postgresql-devel
+pth-devel
+pulseaudio-libs-devel
+recode
+redhat-rpm-config
+rpm-build
+ruby
+ruby-devel
+sane-backends-devel
+scons
+SDL-devel
+sip-devel
+speex-devel
+sqlite-devel
+subversion-devel
+sudo
+sword-devel
+t1lib-devel
+t1utils
+taglib-devel
+tar
+texinfo
+texlive-utils
+torsocks
+transfig
+udisks-devel
+unixODBC-devel
+usbutils
+valgrind
+ver-devel
+wireless-tools-devel
+xine-lib-devel
+xmlto
+xorg-x11-font-utils
+xscreensaver
+xscreensaver-extras
+xulrunner-devel
+xz-devel
diff --git a/redhat/docker/el6/repoforge-6.repo b/redhat/docker/el6/repoforge-6.repo
new file mode 100644
index 000000000..8747bf2df
--- /dev/null
+++ b/redhat/docker/el6/repoforge-6.repo
@@ -0,0 +1,5 @@
+[dag]
+name=dag
+baseurl=http://repo/repo/repoforge/redhat/el6/en/$basearch/dag/
+enabled=1
+gpgcheck=0
diff --git a/redhat/docker/el6/rpmbuild.repo b/redhat/docker/el6/rpmbuild.repo
new file mode 100644
index 000000000..750290651
--- /dev/null
+++ b/redhat/docker/el6/rpmbuild.repo
@@ -0,0 +1,11 @@
+[rpmbuild.${ARCH}]
+name=rpmbuild.${ARCH}
+baseurl=file:///home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
+enabled=1
+gpgcheck=0
+
+[rpmbuild.noarch]
+name=rpmbuild.noarch
+baseurl=file:///home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
+enabled=1
+gpgcheck=0
diff --git a/redhat/docker/el6/rpmmacros b/redhat/docker/el6/rpmmacros
new file mode 100644
index 000000000..3b33ecbc0
--- /dev/null
+++ b/redhat/docker/el6/rpmmacros
@@ -0,0 +1,5 @@
+%dist .el6
+%rhel 6
+%_smp_mflags -j8
+%jobs 8
+%_topdir /home/trinity/rpmbuild