RPM packaging: add docker build scripts

pull/3/head
François Andriot 7 years ago
parent 90da17e797
commit a166e45221

@ -0,0 +1,13 @@
#!/bin/bash
DISTRIB="$1"
TDE_VERSION="$2"
ARCH="$3"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.4"
[ -z "${ARCH}" ] && ARCH="x86_64"
IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}"
docker rmi -f "${IMAGE}"
docker build -t "${IMAGE}" --build-arg TDE_VERSION="${TDE_VERSION}" --build-arg ARCH="${ARCH}" "${DISTRIB}"

@ -0,0 +1,27 @@
FROM centos:7
ARG TDE_VERSION=14.0.4
ARG ARCH=x86_64
# Add EPEL repository
RUN rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
# 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
# Install Trinity build dependencies
ADD packages /etc/yum.repos.d/packages
RUN yum update -y
RUN yum install -y $(</etc/yum.repos.d/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
# 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|"

@ -0,0 +1,196 @@
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
clucene-core-devel
cmake
cpp
cppunit-devel
createrepo
cryptsetup-devel
cups-devel
db4-devel
dbus-glib-devel
djvulibre
djvulibre-devel
doxygen
emacs
esound-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
gettext-devel
glib-devel
gmp-devel
gperf
gpgme-devel
gphoto2-devel
GraphicsMagick-devel
gsl-devel
gstreamer-devel
gstreamer-plugins-base-devel
gstreamer1-devel
gstreamer1-plugins-base-devel
gtk2-devel
gtk+-devel
gtk-doc
guile-devel
heimdal-devel
hspell-devel
html2ps
icu
ImageMagick-devel
imake
imlib-devel
jack-audio-connection-kit-devel
jasper-devel
java-1.7.0-openjdk-devel
java-devel
java-openjdk
kernel
lame-devel
libacl-devel
libarchive-devel
libart_lgpl-devel
libassuan-devel
libblkid-devel
libcap-devel
libcdio-devel
libcdio-paranoia-devel
libconfig-devel
libcurl-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
libmusicbrainz-devel
libofx-devel
libogg-devel
libotr-devel
libpaper-devel
libraw1394-devel
librsvg2-tools
libsamplerate-devel
libsmbclient-devel
libsndfile-devel
libssh2-devel
libtheora-devel
libtiff-devel
libtool
libtool-ltdl-devel
libudisks2-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
lirc-devel
lm_sensors-devel
meanwhile-devel
mysql-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
readline-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
swig
sword-devel
systemd-devel
t1lib-devel
t1utils
taglib-devel
tar
texinfo
transfig
unixODBC-devel
usbutils
valgrind
wireless-tools-devel
xine-lib-devel
xmlto
xorg-x11-font-utils
xscreensaver
xscreensaver-base
xscreensaver-extras
xscreensaver-gl-base
xscreensaver-gl-extras
xulrunner-devel
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 .el7
%_smp_mflags -j8
%jobs 8

@ -0,0 +1,21 @@
FROM fedora:25
ARG TDE_VERSION=14.0.4
ARG ARCH=x86_64
# Add RPMFUSION repository
RUN rpm -Uvh https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-25.noarch.rpm
# Install Trinity build dependencies
ADD packages /etc/yum.repos.d/packages
RUN dnf update -y
RUN dnf install -y $(</etc/yum.repos.d/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,215 @@
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-devel
cups-devel
db4-devel
dbus-glib-devel
djvulibre
djvulibre-devel
doxygen
dssi-devel
esound-devel
exempi-devel
exiv2-devel
fdupes
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
gsl-devel
gstreamer1-devel
gstreamer1-plugins-base-devel
gtk2-devel
gtk3-devel
gtk+-devel
gtk-doc
guile-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.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
libofx-devel
libogg-devel
libotr-devel
libpaper-devel
libpqxx-devel
libqalculate-devel
libraw1394-devel
librsvg2
librsvg2-tools
libsamplerate-devel
libsmbclient-devel
libsndfile-devel
libssh2-devel
libtheora-devel
libtiff-devel
libtool
libtool-ltdl-devel
libudev-devel
libudisks2-devel
libutempter-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
libzrtpcpp-devel
lirc-devel
lm_sensors-devel
meanwhile-devel
mftrace
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
ortp-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
postgresql-devel
pth-devel
pulseaudio-libs-devel
qt4-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
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
xulrunner-devel
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 .fc25
%_smp_mflags -j8
%jobs 8

@ -0,0 +1,21 @@
FROM fedora:26
ARG TDE_VERSION=14.0.4
ARG ARCH=x86_64
# Add RPMFUSION repository
RUN rpm -Uvh https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-26.noarch.rpm
# Install Trinity build dependencies
ADD packages /etc/yum.repos.d/packages
RUN dnf update -y
RUN dnf install -y $(</etc/yum.repos.d/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,215 @@
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-devel
cups-devel
db4-devel
dbus-glib-devel
djvulibre
djvulibre-devel
doxygen
dssi-devel
esound-devel
exempi-devel
exiv2-devel
fdupes
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
gsl-devel
gstreamer1-devel
gstreamer1-plugins-base-devel
gtk2-devel
gtk3-devel
gtk+-devel
gtk-doc
guile-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.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
libofx-devel
libogg-devel
libotr-devel
libpaper-devel
libpqxx-devel
libqalculate-devel
libraw1394-devel
librsvg2
librsvg2-tools
libsamplerate-devel
libsmbclient-devel
libsndfile-devel
libssh2-devel
libtheora-devel
libtiff-devel
libtool
libtool-ltdl-devel
libudev-devel
libudisks2-devel
libutempter-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
libzrtpcpp-devel
lirc-devel
lm_sensors-devel
meanwhile-devel
mftrace
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
ortp-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
postgresql-devel
pth-devel
pulseaudio-libs-devel
qt4-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
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
xulrunner-devel
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 .fc26
%_smp_mflags -j8
%jobs 8

@ -0,0 +1,32 @@
FROM mageia:5.1
ARG TDE_VERSION=14.0.4
ARG ARCH=x86_64
# Reset URPMI repositories to default
RUN urpmi.removemedia -a
RUN urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST'
# Enable more URPMI repositories
RUN sed -i "/etc/urpmi/urpmi.cfg" -e "/Tainted\\\ Release {/{p;N;d}" -e "/Tainted\\\ Updates {/{p;N;d}"
# Update distribution
RUN urpmi.update -a
RUN urpmi --auto-select --auto
# Install Trinity build dependencies
ADD packages.${ARCH} /etc/urpmi/packages
RUN while ! urpmi --auto $(</etc/urpmi/packages); do urpmi.update -a; done
# Add rpmbuild repositories
RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
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
RUN rm -rf /home/trinity
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,236 @@
advancecomp
alsa-lib-devel
aspell
aspell-devel
aspell-en
audiofile-devel
bind-devel
bison
boost-devel
bzip2-devel
ccache
cdparanoia
chmlib-devel
chrpath
clamav
clamav-devel
cmake
ctags
cups-devel
curl-devel
db5-devel
dbus-devel
dbus-glib
dbus-glib-devel
djvulibre
docbook-dtd412-xml
docbook-style-xsl
docbook-utils
doxygen
drakconf
dssi-devel
exempi-devel
expat-devel
fdupes
fftw-devel
firebird-devel
flex
fontconfig-devel
freetype2-devel
freetype-devel
fribidi-devel
gamin-devel
gettext-devel
glib2-devel
gmime-devel
gnokii-devel
gperf
gpgme-devel
gphoto2-devel
GraphicsMagick-devel
gsl-devel
gtk2-devel
gtk+3.0-devel
gtk-doc
hspell-devel
hunspell-en
ImageMagick-devel
imake
imlib2-devel
intltool
java-1.8.0-openjdk
java-1.8.0-openjdk-devel
karma-sharp
kde-dev-scripts
lcms-devel
lib64apr-devel
lib64apr-util-devel
lib64avformat56
lib64binutils-devel
lib64clucene-devel
lib64commoncpp-devel
lib64cryptsetup-devel
lib64curl-devel
lib64dvdread-devel
lib64ecpg9.4_6
lib64exiv2-devel
lib64ffmpeg-devel
lib64flac-devel
lib64flac++-devel
lib64fontenc-devel
lib64gstreamer1.0-devel
lib64gstreamer-plugins-base1.0-devel
lib64inotifytools-devel
lib64jasper-devel
lib64jpeg-devel
lib64lame-devel
lib64lua-devel
lib64mad-devel
lib64paper-devel
lib64pkcs11-helper-devel
lib64poppler-devel
lib64pulseaudio-devel
lib64sane1-devel
lib64t1lib-devel
lib64tiff-devel
lib64twolame-devel
lib64udev-devel
lib64usb1.0-devel
lib64utempter-devel
lib64v4l-devel
lib64xaw-devel
lib64xdg-basedir-devel
lib64xi-devel
lib64xine1.2-devel
lib64xscrnsaver-devel
lib64xtst-devel
lib64xxf86dga-devel
lib64yaz-devel
libart_lgpl-devel
libblkid-devel
libcdda-devel
libclucene-devel
libcommoncpp-devel
libconfig-devel
libcurl-devel
libdvdread-devel
libffmpeg-devel
libflac-devel
libflac++-devel
libidn-devel
libgadu-devel
libgpod-devel
libgsf-devel
libhd-devel
libical-devel
libice-devel
libifp-devel
libinotifytools-devel
libiodbc-devel
libiw-devel
libjack-devel
libjasper-devel
libkarma-devel
liblo-devel
liblrdf-devel
libmad-devel
libmng-devel
libmp4v2-devel
libmpcdec-devel
libmtp-devel
libmusicbrainz-devel
libnjb-devel
libofx-devel
libotr-devel
libpaper-devel
libpx-devel
libqalculate-devel
libraw1394-devel
librsvg
libsmbclient-devel
libsm-devel
libsndfile-devel
libt1lib-devel
libtheora-devel
libungif-devel
libvisual-devel
libvorbis-devel
libwmf-devel
libwpd-devel
libx11-devel
libxcursor-devel
libxext-devel
libxft-devel
libxi-devel
libxinerama-devel
libxkbfile-devel
libxmu-devel
libxrandr-devel
libxrender-devel
libxslt-devel
libxv-devel
libxxf86dga-devel
libyaz-devel
lilo
lirc-devel
lm_sensors-devel
mesaglu-devel
mysql-devel
nas-devel
neon-devel
netpbm
net-snmp-devel
NetworkManager-glib-devel
notification-daemon
ocaml
OpenEXR-devel
openldap-devel
opensc
openslp-devel
opensp-devel
optipng
pam-devel
pciutils-devel
perl-devel
perl(XML::Parser)
pilot-link-devel
pinentry-gtk2
pkgconfig(audiofile)
pkgconfig(libpng16)
polkit-agent-none
postgresql9.4
postgresql9.4-devel
pth-devel
python-devel
python-sip
qt4-devel
readline-devel
recode
rpm-build
rpm-devel
ruby-devel
scons
SDL-devel
speex-devel
sqlite3-devel
sqlite-devel
sudo
subversion-devel
sword-devel
taglib-devel
transfig
udisks2-devel
udisks-devel
unixODBC-devel
usbutils
valgrind
wv2-devel
x11-font-util
xbase-devel
xmlto
xscreensaver
xscreensaver-base
xscreensaver-extrusion
xscreensaver-gl
yaz
zlib-devel

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

@ -0,0 +1,32 @@
FROM mageia:6
ARG TDE_VERSION=14.0.4
ARG ARCH=x86_64
# Reset URPMI repositories to default
RUN urpmi.removemedia -a
RUN urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST'
# Enable more URPMI repositories
RUN sed -i "/etc/urpmi/urpmi.cfg" -e "/Tainted\\\ Release {/{p;N;d}" -e "/Tainted\\\ Updates {/{p;N;d}"
# Update distribution
RUN urpmi.update -a
RUN urpmi --auto-select --auto
# Install Trinity build dependencies
ADD packages.${ARCH} /etc/urpmi/packages
RUN while ! urpmi --auto $(</etc/urpmi/packages); do urpmi.update -a; done
# Add rpmbuild repositories
RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch
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
RUN rm -rf /home/trinity
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,237 @@
advancecomp
alsa-lib-devel
aspell
aspell-devel
aspell-en
audiofile-devel
bind-devel
bison
boost-devel
bzip2-devel
ccache
cdparanoia
chmlib-devel
chrpath
clamav
clamav-devel
cmake
ctags
cups-devel
curl-devel
db5-devel
dbus-devel
dbus-glib
dbus-glib-devel
djvulibre
docbook-dtd412-xml
docbook-style-xsl
docbook-utils
doxygen
drakconf
dssi-devel
exempi-devel
expat-devel
fdupes
fftw-devel
firebird-devel
flex
fontconfig-devel
freetype2-devel
freetype-devel
fribidi-devel
gamin-devel
gettext-devel
glib2-devel
gmime-devel
gnokii-devel
gperf
gpgme-devel
gphoto2-devel
GraphicsMagick-devel
gsl-devel
gtk2-devel
gtk+3.0-devel
gtk-doc
hspell-devel
hunspell-en
ImageMagick-devel
imake
imlib2-devel
intltool
java-1.8.0-openjdk
java-1.8.0-openjdk-devel
karma-sharp
kde-dev-scripts
lcms-devel
lib64apr-devel
lib64apr-util-devel
lib64avformat57
lib64binutils-devel
lib64clucene-devel
lib64commoncpp-devel
lib64cryptsetup-devel
lib64curl-devel
lib64dvdread-devel
lib64ecpg9.4_6
lib64exiv2-devel
lib64fbclient-devel
lib64ffmpeg-devel
lib64flac-devel
lib64flac++-devel
lib64fontenc-devel
lib64gstreamer1.0-devel
lib64gstreamer-plugins-base1.0-devel
lib64inotifytools-devel
lib64jasper-devel
lib64jpeg-devel
lib64mp3lame-devel
lib64lua-devel
lib64mad-devel
lib64paper-devel
lib64pkcs11-helper-devel
lib64poppler-devel
lib64pulseaudio-devel
lib64sane1-devel
lib64t1lib-devel
lib64tiff-devel
lib64twolame-devel
lib64udev-devel
lib64usb1.0-devel
lib64utempter-devel
lib64v4l-devel
lib64xaw-devel
lib64xdg-basedir-devel
lib64xi-devel
lib64xine1.2-devel
lib64xscrnsaver-devel
lib64xtst-devel
lib64xxf86dga-devel
lib64yaz-devel
libart_lgpl-devel
libblkid-devel
libcdda-devel
libclucene-devel
libcommoncpp-devel
libconfig-devel
libcurl-devel
libdvdread-devel
libffmpeg-devel
libflac-devel
libflac++-devel
libidn-devel
libgadu-devel
libgpod-devel
libgsf-devel
libhd-devel
libical-devel
libice-devel
libifp-devel
libinotifytools-devel
libiodbc-devel
libiw-devel
libjack-devel
libjasper-devel
libkarma-devel
liblo-devel
liblrdf-devel
libmad-devel
libmng-devel
libmp4v2-devel
libmpcdec-devel
libmtp-devel
libmusicbrainz-devel
libnjb-devel
libofx-devel
libotr-devel
libpaper-devel
libpx-devel
libqalculate-devel
libraw1394-devel
librsvg
libsmbclient-devel
libsm-devel
libsndfile-devel
libt1lib-devel
libtheora-devel
libungif-devel
libvisual-devel
libvorbis-devel
libwmf-devel
libwpd-devel
libx11-devel
libxcursor-devel
libxext-devel
libxft-devel
libxi-devel
libxinerama-devel
libxkbfile-devel
libxmu-devel
libxrandr-devel
libxrender-devel
libxslt-devel
libxv-devel
libxxf86dga-devel
libyaz-devel
lilo
lirc-devel
lm_sensors-devel
mesaglu-devel
mysql-devel
nas-devel
neon-devel
netpbm
net-snmp-devel
NetworkManager-glib-devel
notification-daemon
ocaml
OpenEXR-devel
openldap-devel
opensc
openslp-devel
opensp-devel
optipng
pam-devel
pciutils-devel
perl-devel
perl(XML::Parser)
pilot-link-devel
pinentry-gtk2
pkgconfig(audiofile)
pkgconfig(libpng16)
polkit-agent-none
postgresql9.4
postgresql9.4-devel
pth-devel
python-devel
python-sip
qt4-devel
readline-devel
recode
rpm-build
rpm-devel
ruby-devel
scons
SDL-devel
speex-devel
sqlite3-devel
sqlite-devel
sudo
subversion-devel
sword-devel
taglib-devel
transfig
udisks2-devel
udisks-devel
unixODBC-devel
usbutils
valgrind
wv2-devel
x11-font-util
xbase-devel
xmlto
xscreensaver
xscreensaver-base
xscreensaver-extrusion
xscreensaver-gl
yaz
zlib-devel

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

@ -0,0 +1,23 @@
FROM opensuse:13.1
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.1/ 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

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

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

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

@ -0,0 +1,23 @@
FROM opensuse:42.1
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.1/ 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

@ -1,8 +1,8 @@
alsa-lib-devel
aspell
aspell-devel
audiofile-devel
automake
libavahi-devel
bind-devel
binutils-devel
bison
@ -23,14 +23,17 @@ djvulibre
docbook-xsl-stylesheets
doxygen GraphicsMagick
dssi-devel
esound-devel
fdupes
ffmpeg-devel
ffmpeg-devel
fftw3-devel
file-devel
flac-devel
flex
freetype-devel
fribidi-devel
gamin-devel
gcc-c++
giflib-devel
glu-devel
@ -43,7 +46,9 @@ gstreamer-0_10-devel
gstreamer-0_10-plugins-base-devel
gstreamer-devel
gtk2-devel
gtk3-devel
gtk-doc
htdig
html2ps
hunspell-devel
ImageMagick-devel
@ -51,42 +56,54 @@ java-1_8_0-openjdk-devel
libacl-devel
libart_lgpl-devel
libavahi-devel
libavahi-devel
libblkid-devel
libbz2-devel
libcap-devel
libcdio-devel
libcdio-paranoia-devel
libconfig-devel
libcryptsetup-devel
libcurl-devel
libdb-4_8-devel
libdvdread-devel
libexiv2-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
libraw1394-devel
librsvg-devel
libsamplerate-devel
libSDL-devel
libsmbclient-devel
libsndfile-devel
libtag-devel
libtheora-devel
libtiff-devel
libtool
@ -95,6 +112,7 @@ libtwolame-devel
libudev-devel
libv4l-devel
libvisual-devel
libvorbis-devel
libwmf-devel
libwpd-devel
libxine-devel
@ -106,9 +124,12 @@ 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
@ -116,11 +137,13 @@ patch
pciutils-devel
pcre-devel
pcsc-lite-devel
pkcs11-helper-devel
postgresql
postgresql-devel
python-devel
python-sip-devel
recode
rpm-build
rsvg-view
ruby
ruby-devel
@ -129,10 +152,11 @@ scons
speex-devel
sqlite3-devel
subversion-devel
sudo
sword-devel
transfig
udisks-devel
udisks2-devel
udisks-devel
unixODBC-devel
update-desktop-files
utempter-devel
@ -144,27 +168,3 @@ xscreensaver
xscreensaver-data
xscreensaver-data-extra
xz-devel
libaudio-devel
mysql-devel
libpth-devel
alsa-lib-devel
libvorbis-devel
esound-devel
libjack-devel
libpulse-devel
htdig
libtag-devel
libgpgme-devel
libneon-devel
libSDL-devel
libmysqld-devel
gamin-devel
libpoppler-devel
liblcms-devel
gtk3-devel
libffmpeg-devel
mozilla-nspr-devel
libpisock-devel
pkcs11-helper-devel
libcryptsetup-devel
opensc

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

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

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

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

@ -0,0 +1,23 @@
FROM opensuse:42.3
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.3/ 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

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

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

@ -0,0 +1,28 @@
#!/bin/bash
DISTRIB="$1"
TDE_VERSION="$2"
ARCH="$3"
[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.4"
[ -z "${ARCH}" ] && ARCH="x86_64"
IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}"
DIST="$(sed -n ${DISTRIB}/rpmmacros -e "/%dist/ s|.* ||p")"
mkdir -p "${HOME}/rpmbuild/RPMS/RPMS${DIST}.tde-${TDE_VERSION}"
mkdir -p "${HOME}/rpmbuild/SRPMS/SRPMS${DIST}.tde-${TDE_VERSION}"
docker run -t -i \
-h "${IMAGE}" \
-v /tmp:/tmp:z \
-u trinity \
-e TMPPATH=/tmp \
-e TDE_VERSION=${TDE_VERSION} \
-w /home/trinity/tde/tde-packaging/redhat \
-v ${HOME}/.gnupg:/home/trinity/.gnupg \
-v ${HOME}/tde/tde-packaging:/home/trinity/tde/tde-packaging \
-v ${HOME}/tde/tde-tarballs:/home/trinity/tde/tde-tarballs \
-v ${HOME}/rpmbuild/RPMS/RPMS${DIST}.tde-${TDE_VERSION}:/home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION} \
-v ${HOME}/rpmbuild/SRPMS/SRPMS${DIST}.tde-${TDE_VERSION}:/home/trinity/rpmbuild/SRPMS.tde-${TDE_VERSION} \
"${IMAGE}" bash
Loading…
Cancel
Save