summaryrefslogtreecommitdiffstats
path: root/redhat/docker/oss422
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2017-07-21 22:11:22 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2017-07-21 22:11:22 +0200
commita166e45221dabbf06d176ce3186e5f52b1549a1f (patch)
tree8623343aee311fd623605b567f03e3f368ea0188 /redhat/docker/oss422
parent90da17e79795662dbabd42c2aff692e23fa83714 (diff)
downloadtde-packaging-a166e45221dabbf06d176ce3186e5f52b1549a1f.tar.gz
tde-packaging-a166e45221dabbf06d176ce3186e5f52b1549a1f.zip
RPM packaging: add docker build scripts
Diffstat (limited to 'redhat/docker/oss422')
-rw-r--r--redhat/docker/oss422/Dockerfile23
-rw-r--r--redhat/docker/oss422/packages183
-rw-r--r--redhat/docker/oss422/rpmmacros3
3 files changed, 209 insertions, 0 deletions
diff --git a/redhat/docker/oss422/Dockerfile b/redhat/docker/oss422/Dockerfile
new file mode 100644
index 000000000..ecb34f1ef
--- /dev/null
+++ b/redhat/docker/oss422/Dockerfile
@@ -0,0 +1,23 @@
+FROM opensuse:42.2
+
+ARG TDE_VERSION=14.0.4
+ARG ARCH=x86_64
+
+# Add PACKMAN repository
+RUN zypper ar -f -G -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.2/ packman
+RUN zypper refresh
+
+# Install Trinity build dependencies
+ADD packages /etc/zypp/packages
+RUN zypper install -l -y $(</etc/zypp/packages)
+
+# 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
+
+# Add YUM repository for locally built packages
+RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} rpmbuild.${ARCH}
+RUN zypper ar -C -G /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} rpmbuild.${ARCH}
+RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch rpmbuild.noarch
+RUN zypper ar -C -G /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch rpmbuild.noarch
diff --git a/redhat/docker/oss422/packages b/redhat/docker/oss422/packages
new file mode 100644
index 000000000..fe79c5038
--- /dev/null
+++ b/redhat/docker/oss422/packages
@@ -0,0 +1,183 @@
+alsa-devel
+aspell
+aspell-devel
+audiofile-devel
+automake
+bdftopcf
+bind-devel
+binutils-devel
+bison
+boost-devel
+ccache
+cdparanoia
+cdparanoia-devel
+chmlib-devel
+chrpath
+clamav
+clucene-core-devel
+cmake
+commoncpp2-devel
+createrepo
+cups-devel
+cyrus-sasl-devel
+dbus-1-devel
+dbus-1-glib-devel
+djvulibre
+docbook-utils
+docbook-xsl-stylesheets
+doxygen GraphicsMagick
+dssi-devel
+fdupes
+ffmpeg-devel
+fftw3-devel
+file-devel
+flac-devel
+flex
+freetype-devel
+fribidi-devel
+gamin-devel
+gcc-c++
+giflib-devel
+glu-devel
+gmime-devel
+gmp-devel
+gnokii-devel
+gperf xmlto
+GraphicsMagick-devel
+gsl-devel
+gstreamer-devel
+gstreamer-plugins-base-devel
+gstreamer-0_10-devel
+gstreamer-0_10-plugins-base-devel
+gstreamer-devel
+gtk2-devel
+gtk3-devel
+gtk-doc
+htdig
+html2ps
+hunspell-devel
+ImageMagick-devel
+imlib2-devel
+intltool
+java-1_8_0-openjdk-devel
+libacl-devel
+libart_lgpl-devel
+libavahi-devel
+libavcodec-devel
+libblkid-devel
+libbz2-devel
+libcap-devel
+libcdio-devel
+libcdio-paranoia-devel
+libconfig-devel
+libcryptsetup-devel
+libcurl-devel
+libdb-4_8-devel
+libdvdread-devel
+libesd-devel
+libexempi-devel
+libexiv2-devel
+libgadu-devel
+libgpgme-devel
+libgphoto2-devel
+libgpod-devel
+libical-devel
+libidn-devel
+libiw-devel
+libjack-devel
+libjasper-devel
+liblcms-devel
+liblcms2-devel
+liblo-devel
+liblrdf-devel
+libmad-devel
+libmng-devel
+libmp3lame-devel
+libmpcdec-devel
+libmtp-devel
+libmusicbrainz-devel
+libmysqld-devel
+libneon-devel
+libnjb-devel
+libofx-devel
+libotr-devel
+libpisock-devel
+libpng16-devel
+libpoppler-devel
+libpqxx-devel
+libpth-devel
+libpulse-devel
+libqalculate-devel
+libraw1394-devel
+librsvg-devel
+libsamplerate-devel
+libSDL-devel
+libsmbclient-devel
+libsndfile-devel
+libtag-devel
+libtheora-devel
+libtiff-devel
+libtool
+libtunepimp-devel
+libtwolame-devel
+libudev-devel
+libv4l-devel
+libvisual-devel
+libvorbis-devel
+libwmf-devel
+libwpd-devel
+libxine-devel
+libxslt-devel
+libzrtpcpp-devel
+lilo
+lirc-devel
+make
+meanwhile-devel
+Mesa-devel
+Mesa-libGL-devel
+mozilla-nspr-devel
+mysql-devel
+NetworkManager-devel
+ocaml
+openexr-devel
+opensc
+openslp-devel
+opensp-devel
+pam-devel
+patch
+pciutils-devel
+pcre-devel
+pcsc-lite-devel
+pkcs11-helper-devel
+postgresql
+postgresql-devel
+python-devel
+python-sip-devel
+qt-devel
+recode
+rpm-build
+rsvg-view
+ruby
+ruby-devel
+sane-backends-devel
+scons
+speex-devel
+sqlite3-devel
+subversion-devel
+sudo
+sword-devel
+torsocks
+transfig
+udisks2-devel
+unixODBC-devel
+update-desktop-files
+usbutils
+utempter-devel
+valgrind
+wireless-tools
+wv2-devel
+xcb-proto-devel
+xscreensaver
+xscreensaver-data
+xscreensaver-data-extra
+xz-devel
diff --git a/redhat/docker/oss422/rpmmacros b/redhat/docker/oss422/rpmmacros
new file mode 100644
index 000000000..93ec36b2e
--- /dev/null
+++ b/redhat/docker/oss422/rpmmacros
@@ -0,0 +1,3 @@
+%dist .oss422
+%_smp_mflags -j8
+%jobs 8