RPM: update docker scripts

pull/92/head
François Andriot 5 years ago
parent aea1ff0939
commit 096e163b68

@ -4,7 +4,7 @@ DISTRIB="$1"
TDE_VERSION="$2" TDE_VERSION="$2"
ARCH="$3" ARCH="$3"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.5" [ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.7"
[ -z "${ARCH}" ] && ARCH="x86_64" [ -z "${ARCH}" ] && ARCH="x86_64"
IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}" IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}"

@ -1,6 +1,6 @@
FROM centos32:5 FROM centos32:5
ARG TDE_VERSION=14.0.4 ARG TDE_VERSION=14.0.7
ARG ARCH=i686 ARG ARCH=i686
# Add local repositories # Add local repositories

@ -1,6 +1,6 @@
FROM centos:5 FROM centos:5
ARG TDE_VERSION=14.0.4 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add local repositories # Add local repositories

@ -1,6 +1,6 @@
FROM centos32:6 FROM centos32:6
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=i686 ARG ARCH=i686
RUN echo "proxy=http://proxy:3128" >>/etc/yum.conf RUN echo "proxy=http://proxy:3128" >>/etc/yum.conf
@ -16,6 +16,9 @@ ADD packages.trinity /packages
RUN setarch ${ARCH} yum -y update RUN setarch ${ARCH} yum -y update
RUN setarch ${ARCH} yum -y install $(</packages) RUN setarch ${ARCH} yum -y install $(</packages)
# 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|"
# Add YUM repository for locally built packages # Add YUM repository for locally built packages
WORKDIR /etc/yum.repos.d WORKDIR /etc/yum.repos.d
ADD rpmbuild.repo rpmbuild.repo ADD rpmbuild.repo rpmbuild.repo
@ -24,7 +27,30 @@ RUN sed -i "rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE
# Add non-root user to build packages # Add non-root user to build packages
RUN useradd -m -s /bin/bash -u 1000 trinity RUN useradd -m -s /bin/bash -u 1000 trinity
RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
USER trinity
ADD rpmmacros /home/trinity/.rpmmacros ADD rpmmacros /home/trinity/.rpmmacros
# Distro-specific patches # Build supplementary development tools
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|"
RUN rpmbuild --rebuild http://vault.centos.org/7.7.1908/os/Source/SPackages/m4-1.4.16-10.el7.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/m4-1*.rpm
RUN rpmbuild --rebuild http://vault.centos.org/7.7.1908/os/Source/SPackages/autoconf-2.69-11.el7.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/autoconf-2*.rpm
RUN rpmbuild --rebuild http://vault.centos.org/7.7.1908/os/Source/SPackages/perl-Module-Install-1.06-4.el7.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-Module-Install-*.rpm
RUN rpmbuild --rebuild http://vault.centos.org/7.7.1908/os/Source/SPackages/perl-Module-ScanDeps-1.10-3.el7.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-Module-ScanDeps-*.rpm
RUN rpm -i https://fr2.rpmfind.net/linux/epel/7/SRPMS/Packages/p/perl-PAR-1.015-4.el7.src.rpm
RUN sed -i ${HOME}/rpmbuild/SPECS/perl-PAR.spec -e "s|%license|%doc|"
RUN rpmbuild -ba ${HOME}/rpmbuild/SPECS/perl-PAR.spec
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-PAR-1*.rpm
RUN rpm -i https://fr2.rpmfind.net/linux/epel/7/SRPMS/Packages/p/perl-PAR-Packer-1.041-2.el7.src.rpm
RUN sed -i ${HOME}/rpmbuild/SPECS/perl-PAR-Packer.spec -e "s|%license|%doc|"
RUN rpmbuild -ba ${HOME}/rpmbuild/SPECS/perl-PAR-Packer.spec
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-PAR-Packer-1*.rpm --nodeps

@ -1,6 +1,6 @@
FROM centos:6 FROM centos:6
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
RUN echo "proxy=http://proxy:3128" >>/etc/yum.conf RUN echo "proxy=http://proxy:3128" >>/etc/yum.conf
@ -16,6 +16,9 @@ ADD packages.trinity /packages
RUN yum -y update RUN yum -y update
RUN yum -y install $(</packages) RUN yum -y install $(</packages)
# 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|"
# Add YUM repository for locally built packages # Add YUM repository for locally built packages
WORKDIR /etc/yum.repos.d WORKDIR /etc/yum.repos.d
ADD rpmbuild.repo rpmbuild.repo ADD rpmbuild.repo rpmbuild.repo
@ -24,7 +27,30 @@ RUN sed -i "rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE
# Add non-root user to build packages # Add non-root user to build packages
RUN useradd -m -s /bin/bash -u 1000 trinity RUN useradd -m -s /bin/bash -u 1000 trinity
RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
USER trinity
ADD rpmmacros /home/trinity/.rpmmacros ADD rpmmacros /home/trinity/.rpmmacros
# Distro-specific patches # Build supplementary development tools
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|"
RUN rpmbuild --rebuild http://vault.centos.org/7.7.1908/os/Source/SPackages/m4-1.4.16-10.el7.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/m4-1*.rpm
RUN rpmbuild --rebuild http://vault.centos.org/7.7.1908/os/Source/SPackages/autoconf-2.69-11.el7.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/autoconf-2*.rpm
RUN rpmbuild --rebuild http://vault.centos.org/7.7.1908/os/Source/SPackages/perl-Module-Install-1.06-4.el7.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-Module-Install-*.rpm
RUN rpmbuild --rebuild http://vault.centos.org/7.7.1908/os/Source/SPackages/perl-Module-ScanDeps-1.10-3.el7.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-Module-ScanDeps-*.rpm
RUN rpm -i https://fr2.rpmfind.net/linux/epel/7/SRPMS/Packages/p/perl-PAR-1.015-4.el7.src.rpm
RUN sed -i ${HOME}/rpmbuild/SPECS/perl-PAR.spec -e "s|%license|%doc|"
RUN rpmbuild -ba ${HOME}/rpmbuild/SPECS/perl-PAR.spec
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-PAR-1*.rpm
RUN rpm -i https://fr2.rpmfind.net/linux/epel/7/SRPMS/Packages/p/perl-PAR-Packer-1.041-2.el7.src.rpm
RUN sed -i ${HOME}/rpmbuild/SPECS/perl-PAR-Packer.spec -e "s|%license|%doc|"
RUN rpmbuild -ba ${HOME}/rpmbuild/SPECS/perl-PAR-Packer.spec
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/perl-PAR-Packer-1*.rpm --nodeps

@ -131,13 +131,14 @@ libXcomposite-devel
libXdamage-devel libXdamage-devel
libXdmcp-devel libXdmcp-devel
libxkbfile-devel libxkbfile-devel
libXScrnSa libXScrnSaver
libXScrnSaver-devel libXScrnSaver-devel
libxslt-devel libxslt-devel
libXtst-devel libXtst-devel
libXv-devel libXv-devel
libXxf86dga-devel libXxf86dga-devel
libXxf86vm-devel libXxf86vm-devel
libyaz-devel
libzrtpcpp-devel libzrtpcpp-devel
lirc-devel lirc-devel
lm_sensors-devel lm_sensors-devel
@ -160,9 +161,25 @@ pam-devel
pciutils-devel pciutils-devel
pcre-devel pcre-devel
pcsc-lite-devel pcsc-lite-devel
pcsc-perl
perl perl
perl-devel perl-devel
perl(Archive::Zip)
perl(CPAN)
perl(CPANPLUS::Backend)
perl(ExtUtils::MakeMaker) perl(ExtUtils::MakeMaker)
perl(ExtUtils::Embed)
perl(Getopt::ArgvFile)
perl(inc::Module::Install)
perl(IPC::Run3)
perl(JSON)
perl(Module::ScanDeps)
perl(Module::Signature)
perl(prefork)
perl(Test::CPAN::Meta)
perl(Test::MinimumVersion)
perl(Test::More)
perl(Test::Pod)
perl(XML::Parser) perl(XML::Parser)
pilot-link-devel pilot-link-devel
pkcs11-helper-devel pkcs11-helper-devel

@ -1,10 +1,10 @@
FROM centos:7 FROM centos:7
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add EPEL repository # Add EPEL repository
RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm RUN yum -y install epel-release
# Add NUX repository # Add NUX repository
RUN rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm RUN rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
@ -18,10 +18,12 @@ RUN yum install -y $(</packages)
ADD rpmbuild.repo /etc/yum.repos.d/rpmbuild.repo ADD rpmbuild.repo /etc/yum.repos.d/rpmbuild.repo
RUN sed -i "/etc/yum.repos.d/rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE_VERSION}|g" RUN sed -i "/etc/yum.repos.d/rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE_VERSION}|g"
# 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|"
# Add non-root user to build packages # Add non-root user to build packages
RUN useradd -m -s /bin/bash -u 1000 trinity RUN useradd -m -s /bin/bash -u 1000 trinity
RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
ADD rpmmacros /home/trinity/.rpmmacros
# Distro-specific patches USER trinity
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|" ADD rpmmacros /home/trinity/.rpmmacros

@ -105,6 +105,7 @@ libofx-devel
libogg-devel libogg-devel
libotr-devel libotr-devel
libpaper-devel libpaper-devel
libpcap-devel
libqalculate-devel libqalculate-devel
libraw1394-devel libraw1394-devel
librsvg2-tools librsvg2-tools
@ -155,9 +156,11 @@ pam-devel
pciutils-devel pciutils-devel
pcre-devel pcre-devel
pcsc-lite-devel pcsc-lite-devel
pcsc-perl
perl perl
perl-devel perl-devel
perl(ExtUtils::MakeMaker) perl(ExtUtils::MakeMaker)
perl(PAR::Packer)
perl(XML::Parser) perl(XML::Parser)
pilot-link-devel pilot-link-devel
pkcs11-helper-devel pkcs11-helper-devel

@ -0,0 +1,75 @@
FROM centos:8
ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64
RUN echo "proxy=http://proxy:3128" >>/etc/dnf/dnf.conf
# Install OVL plugin for DNF
RUN curl -o /usr/lib/python3.6/site-packages/dnf-plugins/ovl.py https://raw.githubusercontent.com/FlorianLudwig/dnf-plugin-ovl/master/ovl.py
# Add EPEL repository
RUN dnf -y install epel-release
# Add RPMFUSION repository
RUN dnf -y install https://download1.rpmfusion.org/free/el/updates/8/x86_64/r/rpmfusion-free-release-8-0.1.noarch.rpm
# Enable supplementary repositories
RUN dnf -y install dnf-plugins-core
RUN dnf config-manager --enable PowerTools
# Enable custom repository
ADD centos-devel.repo /etc/yum.repos.d/centos-devel.repo
# Update distribution packages
RUN dnf -y update
# Install Trinity build dependencies
ADD packages /packages
RUN dnf -y install $(</packages)
# Add YUM repository for locally built packages
ADD rpmbuild.repo /etc/yum.repos.d/rpmbuild.repo
RUN sed -i "/etc/yum.repos.d/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
# Build development packages
USER trinity
ADD rpmmacros /home/trinity/.rpmmacros
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/s/sword-1.8.1-11.fc30.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/sword{,-devel}-1.8*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/l/libxml%2b%2b-2.40.1-8.fc30.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/libxml++{,-devel}-2*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/l/libofx-0.9.13-2.fc30.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/libofx{,-devel}-0*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/g/gnuchess-6.2.5-8.fc30.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/gnuchess-6*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/p/pilot-link-0.12.5-41.fc30.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/pilot-link-{devel,libs}-0*.rpm
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/r/rdiff-backup-1.2.8-31.fc30.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/rdiff-backup-*.rpm
#RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/l/liblo-0.29-2.fc30.src.rpm
#RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/liblo{,-devel}-0*.rpm
#RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/t/t1utils-1.39-9.fc30.src.rpm
#RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/t1utils-1*.rpm
#RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/m/mftrace-1.2.19-6.fc30.src.rpm
#RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/mftrace-1*.rpm
#RUN rpm -i http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/l/lilypond-2.19.82-4.fc30.src.rpm
#RUN sed -i ${HOME}/rpmbuild/SPECS/lilypond.spec -e "s|texlive-lh||"
#RUN rpmbuild -bb ${HOME}/rpmbuild/SPECS/lilypond.spec
RUN rpmbuild --rebuild http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/30/Everything/source/tree/Packages/p/pcsc-perl-1.4.14-10.fc30.src.rpm
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/pcsc-perl-1*.rpm

@ -0,0 +1,12 @@
[centos-devel]
name=centos-devel
baseurl=http://repo/repo/centos-devel/8/$basearch/
enabled=1
gpgcheck=0
[centos-devel.noarch]
name=centos-devel.noarch
baseurl=http://repo/repo/centos-devel/8/noarch/
enabled=1
gpgcheck=0

@ -0,0 +1,192 @@
alsa-lib-devel
aspell
aspell-devel
audiofile-devel
autotrace
avahi-devel
bind-devel
binutils-devel
bison
bluez-libs-devel
boost-devel
bzip2-devel
cdparanoia
cdparanoia-devel
chrpath
clamav
clamav-devel
clucene-core-devel
cmake
cpp
cppunit-devel
createrepo
cryptsetup-devel
cups-devel
dbus-glib-devel
doxygen
emacs
exempi-devel
exiv2-devel
fdupes
ffmpeg-devel
fftw-devel
file-devel
flac-devel
flex-devel
fontforge
fontpackages-devel
fribidi-devel
gamin-devel
gcc
gcc-c++
gcc-gfortran
gettext-devel
giflib-devel
glibmm24-devel
gmp-devel
gperf
gpgme-devel
gphoto2-devel
GraphicsMagick-devel
gsl-devel
gstreamer1-devel
gstreamer1-plugins-base-devel
gtk2-devel
gtk3-devel
gtk-doc
guile-devel
hspell-devel
icu
ImageMagick-devel
imake
imlib2-devel
intltool
jack-audio-connection-kit-devel
jasper-devel
java-1.8.0-openjdk-devel
java-devel
java-openjdk
kernel
lame-devel
libacl-devel
libarchive-devel
libassuan-devel
libblkid-devel
libcap-devel
libcdio-devel
libcdio-paranoia-devel
libconfig-devel
libcurl-devel
libdb-devel
libdb-cxx-devel
libdvdread-devel
libfontenc-devel
libgpod-devel
libgsf-devel
libical-devel
libidn-devel
libksba-devel
libmad-devel
libmng-devel
libmp4v2-devel
libmpcdec-devel
libmtp-devel
libnsl2-devel
libogg-devel
libotr-devel
libpaper-devel
libpcap-devel
libraw1394-devel
librsvg2-tools
librsync-devel
libsamplerate-devel
libsmbclient-devel
libsndfile-devel
libtheora-devel
libtiff-devel
libtirpc-devel
libtool
libtool-ltdl-devel
libutempter-devel
libv4l-devel
libvisual-devel
libvorbis-devel
libwmf-devel
libwpd-devel
libXaw-devel
libXcomposite-devel
libXdamage-devel
libXdmcp-devel
libxkbfile-devel
libXScrnSaver-devel
libxslt-devel
libXtst-devel
libXv-devel
libXxf86dga-devel
libXxf86vm-devel
libudisks2-devel
libusb-devel
lirc-devel
lm_sensors-devel
mysql-devel
neon-devel
netpbm-progs
NetworkManager-libnm-devel
net-snmp-devel
net-tools
nspr-devel
ocaml
ocaml(compiler)
OpenEXR-devel
openldap-devel
opensc
opensp-devel
pam-devel
pciutils-devel
pcre-devel
pcsc-lite-devel
perl
perl-devel
perl-generators
perl(ExtUtils::MakeMaker)
perl(inc::Module::Install)
perl(IPC::Run3)
perl(Module::Signature)
perl(XML::Parser)
pkcs11-helper-devel
poppler-devel
postgresql
postgresql-devel
postgresql-server-devel
pulseaudio-libs-devel
python2
python2-devel
python3
python3-devel
readline-devel
recode
redhat-rpm-config
rpcgen
rpm-build
ruby
ruby-devel
sane-backends-devel
SDL-devel
speex-devel
sqlite-devel
subversion-devel
sudo
swig
systemd-devel
taglib-devel
texinfo
torsocks
transfig
unixODBC-devel
usbutils
valgrind
wireless-tools-devel
xine-lib-devel
xmlto
xorg-x11-font-utils
xz-devel

@ -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

@ -0,0 +1,3 @@
%dist .el8
%_smp_mflags -j8
%jobs 8

@ -1,6 +1,6 @@
FROM fedora:25 FROM fedora:25
ARG TDE_VERSION=14.0.4 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add RPMFUSION repository # Add RPMFUSION repository

@ -1,6 +1,6 @@
FROM fedora32:26 FROM fedora32:26
ARG TDE_VERSION=14.0.4 ARG TDE_VERSION=14.0.7
ARG ARCH=i686 ARG ARCH=i686
# Add RPMFUSION repository # Add RPMFUSION repository

@ -1,6 +1,6 @@
FROM fedora:26 FROM fedora:26
ARG TDE_VERSION=14.0.4 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add RPMFUSION repository # Add RPMFUSION repository

@ -1,6 +1,6 @@
FROM fedora32:27 FROM fedora32:27
ARG TDE_VERSION=14.0.4 ARG TDE_VERSION=14.0.7
ARG ARCH=i686 ARG ARCH=i686
# Add RPMFUSION repository # Add RPMFUSION repository

@ -1,6 +1,6 @@
FROM fedora:27 FROM fedora:27
ARG TDE_VERSION=14.0.4 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add RPMFUSION repository # Add RPMFUSION repository

@ -1,6 +1,6 @@
FROM fedora32:28 FROM fedora32:28
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=i686 ARG ARCH=i686
RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf" RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf"

@ -1,6 +1,6 @@
FROM fedora:28 FROM fedora:28
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf" RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf"

@ -1,6 +1,6 @@
FROM fedora32:29 FROM fedora32:29
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=i686 ARG ARCH=i686
RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf" RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf"

@ -1,6 +1,6 @@
FROM fedora:29 FROM fedora:29
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf" RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf"

@ -1,6 +1,6 @@
FROM fedora32:30 FROM fedora32:30
ARG TDE_VERSION=14.0.6 ARG TDE_VERSION=14.0.7
ARG ARCH=i686 ARG ARCH=i686
RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf" RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf"
@ -14,7 +14,6 @@ RUN setarch i686 dnf -y --enableplugin=ovl install https://download1.rpmfusion.o
# Install Trinity build dependencies # Install Trinity build dependencies
RUN setarch i686 dnf -y --enableplugin=ovl update RUN setarch i686 dnf -y --enableplugin=ovl update
ADD packages /packages ADD packages /packages
#RUN cat /packages | xargs -n 10 -P 1 setarch i686 dnf -y --enableplugin=ovl install
RUN setarch i686 dnf -y --enableplugin=ovl install $(</packages) RUN setarch i686 dnf -y --enableplugin=ovl install $(</packages)
# Add YUM repository for locally built packages # Add YUM repository for locally built packages

@ -1,6 +1,6 @@
FROM fedora:30 FROM fedora:30
ARG TDE_VERSION=14.0.6 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf" RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf"
@ -14,7 +14,6 @@ RUN dnf -y --enableplugin=ovl install https://download1.rpmfusion.org/free/fedor
# Install Trinity build dependencies # Install Trinity build dependencies
RUN dnf -y --enableplugin=ovl update RUN dnf -y --enableplugin=ovl update
ADD packages /packages ADD packages /packages
#RUN cat /packages | xargs -n 10 -P 1 dnf -y --enableplugin=ovl install
RUN dnf -y --enableplugin=ovl install $(</packages) RUN dnf -y --enableplugin=ovl install $(</packages)
# Add YUM repository for locally built packages # Add YUM repository for locally built packages

@ -33,6 +33,7 @@ doxygen
dssi-devel dssi-devel
esound-devel esound-devel
exempi-devel exempi-devel
exiv2-devel
fdupes fdupes
fedora-rpm-macros fedora-rpm-macros
ffmpeg-devel ffmpeg-devel
@ -171,9 +172,11 @@ pam-devel
pciutils-devel pciutils-devel
pcre-devel pcre-devel
pcsc-lite-devel pcsc-lite-devel
pcsc-perl
perl perl
perl-devel perl-devel
perl(ExtUtils::MakeMaker) perl(ExtUtils::MakeMaker)
perl(PAR::Packer)
perl(XML::Parser) perl(XML::Parser)
pilot-link-devel pilot-link-devel
pkcs11-helper-devel pkcs11-helper-devel

@ -0,0 +1,26 @@
FROM fedora32:31
ARG TDE_VERSION=14.0.7
ARG ARCH=i686
RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf"
# Fix DNF database corruption
RUN setarch i686 dnf -y install dnf-plugin-ovl findutils
# Add RPMFUSION repository
RUN setarch i686 dnf -y --enableplugin=ovl install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-30.noarch.rpm
# Install Trinity build dependencies
RUN setarch i686 dnf -y --enableplugin=ovl update
ADD packages /packages
RUN setarch i686 dnf -y --enableplugin=ovl install $(</packages)
# Add YUM repository for locally built packages
ADD rpmbuild.repo /etc/yum.repos.d/rpmbuild.repo
RUN sed -i "/etc/yum.repos.d/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

@ -0,0 +1,26 @@
FROM fedora:31
ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64
RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf"
# Fix DNF database corruption
RUN dnf -y install dnf-plugin-ovl findutils
# Add RPMFUSION repository
RUN dnf -y --enableplugin=ovl install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-31.noarch.rpm
# Install Trinity build dependencies
RUN dnf -y --enableplugin=ovl update
ADD packages /packages
RUN dnf -y --enableplugin=ovl install $(</packages)
# Add YUM repository for locally built packages
ADD rpmbuild.repo /etc/yum.repos.d/rpmbuild.repo
RUN sed -i "/etc/yum.repos.d/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

@ -0,0 +1,230 @@
alsa-lib-devel
aspell
aspell-devel
audiofile-devel
autotrace
avahi-devel
bind-devel
binutils-devel
bison
boost-devel
bzip2-devel
ccache
cdparanoia
cdparanoia-devel
chmlib-devel
chrpath
clamav
clamav-devel
clucene-core-devel
cmake
cpp
cppunit-devel
createrepo
cryptsetup-devel
cups-devel
db4-devel
dbus-glib-devel
djvulibre
djvulibre-devel
dnf-plugin-ovl
docbook2X
doxygen
dssi-devel
esound-devel
exempi-devel
exiv2-devel
fdupes
fedora-rpm-macros
ffmpeg-devel
fftw-devel
file-devel
flac-devel
flex-static
fontpackages-devel
fribidi-devel
gamin-devel
gcc
gcc-c++
gettext-devel
glib-devel
gmime-devel
gmp-devel
gnokii-devel
gperf
gpgme-devel
gphoto2-devel
GraphicsMagick-devel
graphviz
gsl-devel
gstreamer1-devel
gstreamer1-plugins-base-devel
gtk2-devel
gtk3-devel
gtk+-devel
gtk-doc
guile-devel
harfbuzz-devel
hspell-devel
htdig
html2ps
icu
ImageMagick-devel
imake
imlib-devel
imlib2-devel
intltool
jack-audio-connection-kit-devel
jasper-devel
java-1.8.0-openjdk-devel
java-devel
java-openjdk
lame-devel
lcms-devel
libacl-devel
libblkid-devel
libcap-devel
libcdio-devel
libcdio-paranoia-devel
libconfig-devel
libcurl-devel
libdb-cxx-devel
libdb-devel
libdvdread-devel
libfontenc-devel
libgadu-devel
libgpod-devel
libgsf-devel
libical-devel
libidn-devel
libifp-devel
liblo-devel
liblrdf-devel
libmad-devel
libmng-devel
libmp4v2-devel
libmpcdec-devel
libmtp-devel
libmusicbrainz5-devel
libnjb-devel
libnsl2-devel
libofx-devel
libogg-devel
libotr-devel
libpaper-devel
libpqxx-devel
libqalculate-devel
libraw1394-devel
librsvg2
librsvg2-tools
libsamplerate-devel
libsmbclient-devel
libsndfile-devel
libssh-devel
libssh2-devel
libtheora-devel
libtiff-devel
libtirpc-devel
libtool
libtool-ltdl-devel
libudev-devel
libudisks2-devel
libutempter-devel
libuuid-devel
libv4l-devel
libvisual-devel
libvncserver-devel
libvorbis-devel
libwmf-devel
libwpd-devel
libXaw-devel
libXcomposite-devel
libXdamage-devel
libXdmcp-devel
libxkbfile-devel
libXScrnSaver-devel
libxslt-devel
libXtst-devel
libXv-devel
libXxf86dga-devel
libXxf86vm-devel
libyaz-devel
libzrtpcpp-devel
lirc-devel
lm_sensors-devel
meanwhile-devel
mftrace
mysql-devel
nas-devel
neon-devel
netpbm-progs
NetworkManager-libnm-devel
net-snmp-devel
net-tools
nspr-devel
ocaml
ocaml(compiler)
ocaml-facile-devel
OpenEXR-devel
openldap-devel
opensc
openslp-devel
opensp-devel
ortp-devel
pam-devel
pciutils-devel
pcre-devel
pcsc-lite-devel
pcsc-perl
perl
perl-devel
perl(ExtUtils::MakeMaker)
perl-PAR-Packer
perl(XML::Parser)
pilot-link-devel
pkcs11-helper-devel
poppler-devel
postgresql
postgresql-devel
postgresql-server-devel
pulseaudio-libs-devel
python
python3-devel
qt4-devel
recode
redhat-rpm-config
rpcgen
rpm-build
ruby
ruby-devel
sane-backends-devel
scons
SDL-devel
sip-devel
speex-devel
sqlite-devel
subversion-devel
sudo
swig
sword-devel
t1lib-devel
t1utils
taglib-devel
texinfo
texlive-newunicodechar
torsocks
transfig
udisks-devel
unixODBC-devel
usbutils
valgrind
wireless-tools-devel
xbase-devel
xine-lib-devel
xmedcon
xmedcon-devel
xmlto
xorg-x11-font-utils
xscreensaver
xscreensaver-extras
xz-devel

@ -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

@ -0,0 +1,3 @@
%dist .fc31
%_smp_mflags -j8
%jobs 8

@ -1,6 +1,6 @@
FROM mageia:5.1 FROM mageia:5.1
ARG TDE_VERSION=14.0.4 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Reset URPMI repositories to default # Reset URPMI repositories to default

@ -1,6 +1,6 @@
FROM mageia32:6 FROM mageia32:6
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=i686 ARG ARCH=i686
# Reset URPMI repositories to default # Reset URPMI repositories to default
@ -15,21 +15,32 @@ RUN urpmi.update -a
RUN urpmi --auto-select --auto RUN urpmi --auto-select --auto
# Install Trinity build dependencies # Install Trinity build dependencies
ADD packages.${ARCH} /etc/urpmi/packages ADD packages.${ARCH} /packages
RUN while ! urpmi --auto $(</etc/urpmi/packages); do urpmi.update -a; done RUN urpmi --auto $(</packages)
# Add rpmbuild repositories # Enable ccache
RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch RUN sed -i "/etc/sysconfig/ccache" -e "s|USE_CCACHE_DEFAULT=.*|USE_CCACHE_DEFAULT=\"yes\"|"
RUN genhdlist2 --allow-empty-media /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN urpmi.addmedia rpmbuild.${ARCH} /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} # Fix poppler include causing FTBFS
RUN genhdlist2 --allow-empty-media /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch RUN sed -i "/usr/include/poppler/PDFDoc.h" -e "/^#define PDFDOC_H/ s|$|\n#define nullptr NULL|"
RUN urpmi.addmedia rpmbuild.noarch /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
# Add non-root user to build packages # Add non-root user to build packages
RUN rm -rf /home/trinity RUN rm -rf /home/trinity
RUN useradd -m -s /bin/bash -u 1000 trinity RUN useradd -m -s /bin/bash -u 1000 trinity
RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>"/etc/sudoers"
ADD rpmmacros /home/trinity/.rpmmacros
# Enable ccache # Configure user trinity
RUN sed -i "/etc/sysconfig/ccache" -e "s|USE_CCACHE_DEFAULT=.*|USE_CCACHE_DEFAULT=\"yes\"|" USER trinity
ADD rpmmacros ${HOME}/.rpmmacros
# Add rpmbuild repositories
RUN mkdir -p ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN genhdlist2 --allow-empty-media --clean ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN sudo urpmi.addmedia rpmbuild.${ARCH} ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN mkdir -p ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
RUN genhdlist2 --allow-empty-media --clean ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
RUN sudo urpmi.addmedia rpmbuild.noarch ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
# Build development packages that are missing
RUN rpmbuild --rebuild http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/6.1/SRPMS/core/release/perl-PAR-Packer-1.32.0-1.mga6.src.rpm
RUN sudo rpm -Uvh --force "${HOME}/rpmbuild/RPMS/"*"/perl-PAR-Packer-"*".rpm"

@ -1,6 +1,6 @@
FROM mageia:6 FROM mageia:6
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Reset URPMI repositories to default # Reset URPMI repositories to default
@ -15,21 +15,32 @@ RUN urpmi.update -a
RUN urpmi --auto-select --auto RUN urpmi --auto-select --auto
# Install Trinity build dependencies # Install Trinity build dependencies
ADD packages.${ARCH} /etc/urpmi/packages ADD packages.${ARCH} /packages
RUN while ! urpmi --auto $(</etc/urpmi/packages); do urpmi.update -a; done RUN urpmi --auto $(</packages)
# Add rpmbuild repositories # Enable ccache
RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch RUN sed -i "/etc/sysconfig/ccache" -e "s|USE_CCACHE_DEFAULT=.*|USE_CCACHE_DEFAULT=\"yes\"|"
RUN genhdlist2 --allow-empty-media /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN urpmi.addmedia rpmbuild.${ARCH} /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} # Fix poppler include causing FTBFS
RUN genhdlist2 --allow-empty-media /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch RUN sed -i "/usr/include/poppler/PDFDoc.h" -e "/^#define PDFDOC_H/ s|$|\n#define nullptr NULL|"
RUN urpmi.addmedia rpmbuild.noarch /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
# Add non-root user to build packages # Add non-root user to build packages
RUN rm -rf /home/trinity RUN rm -rf /home/trinity
RUN useradd -m -s /bin/bash -u 1000 trinity RUN useradd -m -s /bin/bash -u 1000 trinity
RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>"/etc/sudoers"
ADD rpmmacros /home/trinity/.rpmmacros
# Enable ccache # Configure user trinity
RUN sed -i "/etc/sysconfig/ccache" -e "s|USE_CCACHE_DEFAULT=.*|USE_CCACHE_DEFAULT=\"yes\"|" USER trinity
ADD rpmmacros ${HOME}/.rpmmacros
# Add rpmbuild repositories
RUN mkdir -p ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN genhdlist2 --allow-empty-media --clean ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN sudo urpmi.addmedia rpmbuild.${ARCH} ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN mkdir -p ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
RUN genhdlist2 --allow-empty-media --clean ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
RUN sudo urpmi.addmedia rpmbuild.noarch ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
# Build development packages that are missing
RUN rpmbuild --rebuild http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/6.1/SRPMS/core/release/perl-PAR-Packer-1.32.0-1.mga6.src.rpm
RUN sudo rpm -Uvh --force "${HOME}/rpmbuild/RPMS/"*"/perl-PAR-Packer-"*".rpm"

@ -17,6 +17,7 @@ clamav-devel
cmake cmake
ctags ctags
cups-devel cups-devel
curl
curl-devel curl-devel
db5-devel db5-devel
dbus-devel dbus-devel
@ -95,9 +96,9 @@ libsane1-devel
libt1lib-devel libt1lib-devel
libtiff-devel libtiff-devel
libtwolame-devel libtwolame-devel
libutempter
libudev-devel libudev-devel
libusb1.0-devel libusb1.0-devel
libutempter
libutempter-devel libutempter-devel
libv4l-devel libv4l-devel
libxaw-devel libxaw-devel
@ -195,6 +196,11 @@ optipng
pam-devel pam-devel
pciutils-devel pciutils-devel
perl-devel perl-devel
perl(Archive::Zip)
perl(Getopt::ArgvFile)
perl(Module::ScanDeps)
perl(PAR)
perl(PAR::Dist)
perl(XML::Parser) perl(XML::Parser)
pilot-link-devel pilot-link-devel
pinentry-gtk2 pinentry-gtk2

@ -17,6 +17,7 @@ clamav-devel
cmake cmake
ctags ctags
cups-devel cups-devel
curl
curl-devel curl-devel
db5-devel db5-devel
dbus-devel dbus-devel
@ -97,6 +98,7 @@ lib64tiff-devel
lib64twolame-devel lib64twolame-devel
lib64udev-devel lib64udev-devel
lib64usb1.0-devel lib64usb1.0-devel
lib64utempter
lib64utempter-devel lib64utempter-devel
lib64v4l-devel lib64v4l-devel
lib64xaw-devel lib64xaw-devel
@ -194,6 +196,11 @@ optipng
pam-devel pam-devel
pciutils-devel pciutils-devel
perl-devel perl-devel
perl(Archive::Zip)
perl(Getopt::ArgvFile)
perl(Module::ScanDeps)
perl(PAR)
perl(PAR::Dist)
perl(XML::Parser) perl(XML::Parser)
pilot-link-devel pilot-link-devel
pinentry-gtk2 pinentry-gtk2

@ -1,6 +1,6 @@
FROM mageia32:7 FROM mageia32:7
ARG TDE_VERSION=14.0.6 ARG TDE_VERSION=14.0.7
ARG ARCH=i686 ARG ARCH=i686
# Reset URPMI repositories to default # Reset URPMI repositories to default
@ -18,18 +18,26 @@ RUN urpmi --auto-select --auto
ADD packages.${ARCH} /packages ADD packages.${ARCH} /packages
RUN urpmi --auto $(</packages) RUN urpmi --auto $(</packages)
# Add rpmbuild repositories # Enable ccache
RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch RUN sed -i "/etc/sysconfig/ccache" -e "s|USE_CCACHE_DEFAULT=.*|USE_CCACHE_DEFAULT=\"yes\"|"
RUN genhdlist2 --allow-empty-media /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN urpmi.addmedia rpmbuild.${ARCH} /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN genhdlist2 --allow-empty-media /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
RUN urpmi.addmedia rpmbuild.noarch /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
# Add non-root user to build packages # Add non-root user to build packages
RUN rm -rf /home/trinity RUN rm -rf /home/trinity
RUN useradd -m -s /bin/bash -u 1000 trinity RUN useradd -m -s /bin/bash -u 1000 trinity
RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>"/etc/sudoers"
ADD rpmmacros /home/trinity/.rpmmacros
# Enable ccache # Configure user trinity
RUN sed -i "/etc/sysconfig/ccache" -e "s|USE_CCACHE_DEFAULT=.*|USE_CCACHE_DEFAULT=\"yes\"|" USER trinity
ADD rpmmacros ${HOME}/.rpmmacros
# Add rpmbuild repositories
RUN mkdir -p ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN genhdlist2 --allow-empty-media --clean ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN sudo urpmi.addmedia rpmbuild.${ARCH} ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN mkdir -p ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
RUN genhdlist2 --allow-empty-media --clean ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
RUN sudo urpmi.addmedia rpmbuild.noarch ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
# Build development packages that are missing
RUN rpmbuild --rebuild http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/7.1/SRPMS/core/release/perl-PAR-Packer-1.47.0-2.mga7.src.rpm
RUN sudo rpm -Uvh --force "${HOME}/rpmbuild/RPMS/"*"/perl-PAR-Packer-"*".rpm"

@ -1,6 +1,6 @@
FROM mageia:7 FROM mageia:7
ARG TDE_VERSION=14.0.6 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Reset URPMI repositories to default # Reset URPMI repositories to default
@ -18,18 +18,26 @@ RUN urpmi --auto-select --auto
ADD packages.${ARCH} /packages ADD packages.${ARCH} /packages
RUN urpmi --auto $(</packages) RUN urpmi --auto $(</packages)
# Add rpmbuild repositories # Enable ccache
RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch RUN sed -i "/etc/sysconfig/ccache" -e "s|USE_CCACHE_DEFAULT=.*|USE_CCACHE_DEFAULT=\"yes\"|"
RUN genhdlist2 --allow-empty-media /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN urpmi.addmedia rpmbuild.${ARCH} /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN genhdlist2 --allow-empty-media /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
RUN urpmi.addmedia rpmbuild.noarch /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
# Add non-root user to build packages # Add non-root user to build packages
RUN rm -rf /home/trinity RUN rm -rf /home/trinity
RUN useradd -m -s /bin/bash -u 1000 trinity RUN useradd -m -s /bin/bash -u 1000 trinity
RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>"/etc/sudoers"
ADD rpmmacros /home/trinity/.rpmmacros
# Enable ccache # Configure user trinity
RUN sed -i "/etc/sysconfig/ccache" -e "s|USE_CCACHE_DEFAULT=.*|USE_CCACHE_DEFAULT=\"yes\"|" USER trinity
ADD rpmmacros ${HOME}/.rpmmacros
# Add rpmbuild repositories
RUN mkdir -p ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN genhdlist2 --allow-empty-media --clean ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN sudo urpmi.addmedia rpmbuild.${ARCH} ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH}
RUN mkdir -p ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
RUN genhdlist2 --allow-empty-media --clean ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
RUN sudo urpmi.addmedia rpmbuild.noarch ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
# Build development packages that are missing
RUN rpmbuild --rebuild http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/7.1/SRPMS/core/release/perl-PAR-Packer-1.47.0-2.mga7.src.rpm
RUN sudo rpm -Uvh --force "${HOME}/rpmbuild/RPMS/"*"/perl-PAR-Packer-"*".rpm"

@ -23,6 +23,7 @@ dbus-devel
dbus-glib dbus-glib
dbus-glib-devel dbus-glib-devel
djvulibre djvulibre
docbook2x
docbook-dtd412-xml docbook-dtd412-xml
docbook-style-xsl docbook-style-xsl
docbook-utils docbook-utils
@ -128,7 +129,6 @@ libhd-devel
libical-devel libical-devel
libice-devel libice-devel
libifp-devel libifp-devel
libinotifytools-devel
libiodbc-devel libiodbc-devel
libiw-devel libiw-devel
libjack-devel libjack-devel
@ -186,6 +186,7 @@ net-snmp-devel
NetworkManager-glib-devel NetworkManager-glib-devel
notification-daemon notification-daemon
ocaml ocaml
ocaml-facile-devel
OpenEXR-devel OpenEXR-devel
openldap-devel openldap-devel
openldap-servers-devel openldap-servers-devel
@ -196,7 +197,10 @@ optipng
pam-devel pam-devel
pciutils-devel pciutils-devel
perl-devel perl-devel
perl(IPC::Run3)
perl(PAR::Packer)
perl(XML::Parser) perl(XML::Parser)
perl-pcsc-perl
pilot-link-devel pilot-link-devel
pinentry-gtk2 pinentry-gtk2
pkgconfig(audiofile) pkgconfig(audiofile)

@ -23,6 +23,7 @@ dbus-devel
dbus-glib dbus-glib
dbus-glib-devel dbus-glib-devel
djvulibre djvulibre
docbook2x
docbook-dtd412-xml docbook-dtd412-xml
docbook-style-xsl docbook-style-xsl
docbook-utils docbook-utils
@ -73,6 +74,7 @@ lib64cryptsetup-devel
lib64curl-devel lib64curl-devel
lib64dvdread-devel lib64dvdread-devel
lib64ecpg9.6_6 lib64ecpg9.6_6
lib64exiv2-devel
lib64fbclient-devel lib64fbclient-devel
lib64ffmpeg-devel lib64ffmpeg-devel
lib64flac-devel lib64flac-devel
@ -97,7 +99,7 @@ lib64tiff-devel
lib64twolame-devel lib64twolame-devel
lib64udev-devel lib64udev-devel
lib64usb1.0-devel lib64usb1.0-devel
lib64utempter lib64utempter0
lib64utempter-devel lib64utempter-devel
lib64v4l-devel lib64v4l-devel
lib64xaw-devel lib64xaw-devel
@ -128,7 +130,6 @@ libhd-devel
libical-devel libical-devel
libice-devel libice-devel
libifp-devel libifp-devel
libinotifytools-devel
libiodbc-devel libiodbc-devel
libiw-devel libiw-devel
libjack-devel libjack-devel
@ -186,6 +187,7 @@ net-snmp-devel
NetworkManager-glib-devel NetworkManager-glib-devel
notification-daemon notification-daemon
ocaml ocaml
ocaml-facile-devel
OpenEXR-devel OpenEXR-devel
openldap-devel openldap-devel
openldap-servers-devel openldap-servers-devel
@ -196,7 +198,10 @@ optipng
pam-devel pam-devel
pciutils-devel pciutils-devel
perl-devel perl-devel
perl(IPC::Run3)
perl(PAR::Packer)
perl(XML::Parser) perl(XML::Parser)
perl-pcsc-perl
pilot-link-devel pilot-link-devel
pinentry-gtk2 pinentry-gtk2
pkgconfig(audiofile) pkgconfig(audiofile)

@ -1,6 +1,6 @@
FROM opensuse:13.1 FROM opensuse:13.1
ARG TDE_VERSION=14.0.4 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add PACKMAN repository # Add PACKMAN repository

@ -1,6 +1,6 @@
FROM opensuse:13.2 FROM opensuse:13.2
ARG TDE_VERSION=14.0.4 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add PACKMAN repository # Add PACKMAN repository

@ -1,6 +1,6 @@
FROM opensuse/leap:15.0 FROM opensuse/leap:15.0
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add PACKMAN repository # Add PACKMAN repository

@ -1,6 +1,6 @@
FROM opensuse/leap:15.1 FROM opensuse/leap:15.1
ARG TDE_VERSION=14.0.6 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add PACKMAN repository # Add PACKMAN repository

@ -154,10 +154,13 @@ patch
pciutils-devel pciutils-devel
pcre-devel pcre-devel
pcsc-lite-devel pcsc-lite-devel
perl-PAR-Packer
perl-pcsc
pkcs11-helper-devel pkcs11-helper-devel
postgresql postgresql
postgresql-devel postgresql-devel
python-devel python-devel
python3-devel
python-sip-devel python-sip-devel
qt-devel qt-devel
rpcgen rpcgen

@ -1,6 +1,6 @@
FROM opensuse:42.1 FROM opensuse:42.1
ARG TDE_VERSION=14.0.4 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add PACKMAN repository # Add PACKMAN repository

@ -1,6 +1,6 @@
FROM opensuse:42.2 FROM opensuse:42.2
ARG TDE_VERSION=14.0.4 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add PACKMAN repository # Add PACKMAN repository

@ -1,6 +1,6 @@
FROM opensuse:42.3 FROM opensuse:42.3
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add PACKMAN repository # Add PACKMAN repository

@ -1,6 +1,6 @@
FROM opensuse32:tumbleweed FROM opensuse32:tumbleweed
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=i686 ARG ARCH=i686
# Add PACKMAN repository # Add PACKMAN repository

@ -1,6 +1,6 @@
FROM opensuse:tumbleweed FROM opensuse:tumbleweed
ARG TDE_VERSION=14.0.5 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Add PACKMAN repository # Add PACKMAN repository

@ -140,6 +140,8 @@ libXt-devel
libXtst-devel libXtst-devel
libXv-devel libXv-devel
libXxf86dga-devel libXxf86dga-devel
libXxf86vm-devel
libyaz-devel
lilo lilo
lirc-devel lirc-devel
make make
@ -162,14 +164,17 @@ patch
pciutils-devel pciutils-devel
pcre-devel pcre-devel
pcsc-lite-devel pcsc-lite-devel
perl-PAR-Packer
perl-pcsc
pkcs11-helper-devel pkcs11-helper-devel
postgresql
postgresql-devel postgresql-devel
postgresql10
postgresql10-devel
python-devel python-devel
qt-devel python3-devel
rpcgen rpcgen
rpm-build rpm-build
rsvg-view rsvg-convert
ruby ruby
ruby-devel ruby-devel
sane-backends-devel sane-backends-devel
@ -180,6 +185,7 @@ subversion-devel
sudo sudo
swig swig
sword-devel sword-devel
texlive-newunicodechar
torsocks torsocks
transfig transfig
unixODBC-devel unixODBC-devel

@ -1,10 +1,11 @@
FROM pclinuxos:2018 FROM pclinuxos:2018
ARG TDE_VERSION=14.0.6 ARG TDE_VERSION=14.0.7
ARG ARCH=x86_64 ARG ARCH=x86_64
# Update distribution # Update distribution
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y install glibc
RUN apt-get -y dist-upgrade RUN apt-get -y dist-upgrade
# Install Trinity build dependencies # Install Trinity build dependencies
@ -30,3 +31,8 @@ RUN genla.sh libbluetooth && mv /usr/lib64/libbluetooth.la /lib64
RUN genla.sh libjpeg RUN genla.sh libjpeg
RUN genla.sh liblcms RUN genla.sh liblcms
RUN genla.sh libusb-1.0 && mv /usr/lib64/libusb-1.0.la /lib64 && cp /lib64/libusb-1.0.la /lib64/libusb.la RUN genla.sh libusb-1.0 && mv /usr/lib64/libusb-1.0.la /lib64 && cp /lib64/libusb-1.0.la /lib64/libusb.la
# Build supplementary development tools
RUN rpm -i --define "_topdir /tmp" http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/7.1/SRPMS/core/release/torsocks-2.3.0-1.mga7.src.rpm
RUN sed -i ${HOME}/rpmbuild/SPECS/torsocks.spec -e "s|%license|%doc|"
RUN sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/torsocks-2*.rpm

@ -30,7 +30,6 @@ gamin-devel
gcc-c++ gcc-c++
gettext-devel gettext-devel
glib2-devel glib2-devel
gnokii-devel
gnutls-devel gnutls-devel
gpgme-devel gpgme-devel
gphoto2-devel gphoto2-devel
@ -44,27 +43,35 @@ ImageMagick-devel
imake imake
imlib2-devel imlib2-devel
java-devel java-devel
java-sun
lcms-devel lcms-devel
lib64clucene-devel
lib64cryptsetup-devel lib64cryptsetup-devel
lib64db4.8-devel
lib64dvdread-devel lib64dvdread-devel
lib64exiv2-devel lib64exiv2-devel
lib64fbclient-devel
lib64gif-devel lib64gif-devel
lib64gpod4 lib64gpod4
lib64gpod-devel
lib64idn-devel lib64idn-devel
lib64inotifytools-devel lib64inotifytools-devel
lib64iw29-devel lib64iw29-devel
lib64nm-devel lib64nm-devel
lib64mpcdec-devel lib64mpcdec-devel
lib64OpenSP5-devel lib64OpenSP5-devel
lib64pcsclite-devel
lib64pkcs11-helper-devel lib64pkcs11-helper-devel
lib64poppler-devel lib64poppler-devel
lib64readline-devel lib64readline-devel
lib64sane1-devel lib64sane1-devel
lib64sndfile-devel
lib64usb1.0-devel lib64usb1.0-devel
lib64usb-compat0.1-devel lib64usb-compat0.1-devel
lib64wv2-devel lib64wv2-devel
lib64xaw-devel lib64xaw-devel
lib64xine1.2-devel lib64xine1.2-devel
lib64xtst-devel
lib64yaz-devel lib64yaz-devel
libcap-devel libcap-devel
libcdda-devel libcdda-devel
@ -76,7 +83,6 @@ libflac++-devel
libfontenc-devel libfontenc-devel
libgadu-devel libgadu-devel
libgstreamer0.10-devel libgstreamer0.10-devel
libical-devel
libice-devel libice-devel
libjack-devel libjack-devel
libjasper-devel libjasper-devel
@ -142,6 +148,8 @@ opensc
openslp-devel openslp-devel
pam-devel pam-devel
perl-devel perl-devel
perl-PAR-Packer
perl-pcsc-perl
pilot-link-devel pilot-link-devel
postgresql postgresql
postgresql-devel postgresql-devel
@ -149,6 +157,7 @@ pth-devel
python3 python3
python-devel python-devel
python-rpm python-rpm
qt4-devel
recode recode
rpm-build rpm-build
rpm-devel rpm-devel
@ -162,6 +171,8 @@ subversion-devel
sudo sudo
sword-devel sword-devel
taglib-devel taglib-devel
texinfo
torsocks
transfig transfig
udisks2-devel udisks2-devel
unixODBC-devel unixODBC-devel

@ -1,4 +1,4 @@
%dist .pclos2018 %dist .pclos
%_smp_mflags -j8 %_smp_mflags -j8
%jobs 8 %jobs 8
%pclinuxos 2018 %pclinuxos 2019

@ -4,7 +4,7 @@ DISTRIB="$1"
TDE_VERSION="$2" TDE_VERSION="$2"
ARCH="$3" ARCH="$3"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.5" [ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.7"
[ -z "${ARCH}" ] && ARCH="x86_64" [ -z "${ARCH}" ] && ARCH="x86_64"
IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}" IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}"

@ -4,7 +4,7 @@ DISTRIB="$1"
TDE_VERSION="$2" TDE_VERSION="$2"
ARCH="$3" ARCH="$3"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.5" [ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.7"
[ -z "${ARCH}" ] && ARCH="x86_64" [ -z "${ARCH}" ] && ARCH="x86_64"
IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}" IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}"

@ -4,7 +4,7 @@ DISTRIB="$1"
TDE_VERSION="$2" TDE_VERSION="$2"
ARCH="$3" ARCH="$3"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.5" [ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.7"
[ -z "${ARCH}" ] && ARCH="x86_64" [ -z "${ARCH}" ] && ARCH="x86_64"
IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}" IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}"

@ -4,7 +4,7 @@ DISTRIB="$1"
TDE_VERSION="$2" TDE_VERSION="$2"
ARCH="$3" ARCH="$3"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.5" [ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.7"
[ -z "${ARCH}" ] && ARCH="x86_64" [ -z "${ARCH}" ] && ARCH="x86_64"
IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}" IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}"

Loading…
Cancel
Save