diff options
author | François Andriot <albator78@libertysurf.fr> | 2017-07-21 22:11:22 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2017-07-21 22:11:22 +0200 |
commit | a166e45221dabbf06d176ce3186e5f52b1549a1f (patch) | |
tree | 8623343aee311fd623605b567f03e3f368ea0188 /redhat/docker/oss132 | |
parent | 90da17e79795662dbabd42c2aff692e23fa83714 (diff) | |
download | tde-packaging-a166e45221dabbf06d176ce3186e5f52b1549a1f.tar.gz tde-packaging-a166e45221dabbf06d176ce3186e5f52b1549a1f.zip |
RPM packaging: add docker build scripts
Diffstat (limited to 'redhat/docker/oss132')
-rw-r--r-- | redhat/docker/oss132/Dockerfile | 23 | ||||
-rw-r--r-- | redhat/docker/oss132/packages | 171 | ||||
-rw-r--r-- | redhat/docker/oss132/rpmmacros | 3 |
3 files changed, 197 insertions, 0 deletions
diff --git a/redhat/docker/oss132/Dockerfile b/redhat/docker/oss132/Dockerfile new file mode 100644 index 000000000..b6a8ef713 --- /dev/null +++ b/redhat/docker/oss132/Dockerfile @@ -0,0 +1,23 @@ +FROM opensuse:13.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_13.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/oss132/packages b/redhat/docker/oss132/packages new file mode 100644 index 000000000..5043e7483 --- /dev/null +++ b/redhat/docker/oss132/packages @@ -0,0 +1,171 @@ +alsa-lib-devel +aspell +aspell-devel +audiofile-devel +automake +bind-devel +binutils-devel +bison +boost-devel +ccache +cdparanoia +cdparanoia-devel +chmlib-devel +chrpath +clucene-core-devel +cmake +commoncpp2-devel +createrepo +cups-devel +cyrus-sasl-devel +dbus-1-devel +dbus-1-glib-devel +djvulibre +docbook-xsl-stylesheets +doxygen GraphicsMagick +dssi-devel +esound-devel +fdupes +ffmpeg-devel +fftw3-devel +file-devel +flac-devel +flex +freetype-devel +fribidi-devel +gamin-devel +gcc-c++ +giflib-devel +glu-devel +gmp-devel +gnokii-devel +gperf xmlto +GraphicsMagick-devel +gsl-devel +gstreamer-devel +gstreamer-plugins-base-devel +gtk2-devel +gtk3-devel +gtk-doc +htdig +html2ps +hunspell-devel +ImageMagick-devel +imlib2-devel +java-1_8_0-openjdk-devel +libacl-devel +libart_lgpl-devel +libaudio-devel +libavahi-devel +libblkid-devel +libbz2-devel +libcap-devel +libcdio-devel +libcdio-paranoia-devel +libconfig-devel +libcurl-devel +libdb-4_8-devel +libdvdread-devel +libexempi-devel +libexiv2-devel +libffmpeg-devel +libgadu-devel +libgpgme-devel +libgphoto2-devel +libgpod-devel +libical-devel +libidn-devel +libiw-devel +libjack-devel +libjasper-devel +liblcms-devel +liblo-devel +liblrdf-devel +libmad-devel +libmng-devel +libmp3lame-devel +libmp4v2-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 +postgresql +postgresql-devel +python-devel +python-sip-devel +recode +rsvg-view +ruby +ruby-devel +sane-backends-devel +scons +speex-devel +sqlite3-devel +subversion-devel +sword-devel +transfig +udisks2-devel +udisks-devel +unixODBC-devel +update-desktop-files +utempter-devel +valgrind +wireless-tools +wv2-devel +xbase-devel +xcb-proto-devel +xscreensaver +xscreensaver-data +xscreensaver-data-extra +xz-devel diff --git a/redhat/docker/oss132/rpmmacros b/redhat/docker/oss132/rpmmacros new file mode 100644 index 000000000..096041924 --- /dev/null +++ b/redhat/docker/oss132/rpmmacros @@ -0,0 +1,3 @@ +%dist .oss132 +%_smp_mflags -j8 +%jobs 8 |