|
|
@ -2,6 +2,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
FROMFEDORA='36'
|
|
|
|
FROMFEDORA='36'
|
|
|
|
PACKAGE='msmtp'
|
|
|
|
PACKAGE='msmtp'
|
|
|
|
|
|
|
|
GETTEXT_FC='34'
|
|
|
|
|
|
|
|
GETTEXT_VERSION='0.21-4'
|
|
|
|
|
|
|
|
|
|
|
|
ABSDIR="$( dirname "$(readlink -f -- "$0")" )"
|
|
|
|
ABSDIR="$( dirname "$(readlink -f -- "$0")" )"
|
|
|
|
cd ${ABSDIR}
|
|
|
|
cd ${ABSDIR}
|
|
|
@ -23,9 +25,17 @@ ${DOCKER} build -t localhost/docker-${PACKAGE}-build -f- . <<EOF
|
|
|
|
FROM docker.io/library/rockylinux:8
|
|
|
|
FROM docker.io/library/rockylinux:8
|
|
|
|
RUN dnf install -y epel-release dnf-plugins-core && \
|
|
|
|
RUN dnf install -y epel-release dnf-plugins-core && \
|
|
|
|
dnf config-manager --set-enabled powertools && \
|
|
|
|
dnf config-manager --set-enabled powertools && \
|
|
|
|
dnf install -y rpm-build gcc make gettext gnutls-devel libgsasl-devel libidn-devel libsecret-devel && \
|
|
|
|
dnf install -y rpm-build gcc make gettext gnutls-devel libgsasl-devel libidn-devel libsecret-devel autoconf automake emacs gcc-c++ glibc-langpack-de glibc-langpack-fa glibc-langpack-fr glibc-langpack-ja glibc-langpack-tr glibc-langpack-zh libacl-devel libunistring-devel libxml2-devel ncurses-devel teckit texinfo-tex texlive-dvipdfmx texlive-dvips texlive-xetex git && \
|
|
|
|
useradd -m dontbuildasroot -s /bin/bash
|
|
|
|
useradd -m dontbuildasroot -s /bin/bash
|
|
|
|
USER dontbuildasroot
|
|
|
|
USER dontbuildasroot
|
|
|
|
|
|
|
|
RUN rpmbuild --rebuild https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/${GETTEXT_FC}/Everything/source/tree/Packages/g/gettext-${GETTEXT_VERSION}.fc${GETTEXT_FC}.src.rpm
|
|
|
|
|
|
|
|
USER root
|
|
|
|
|
|
|
|
RUN rpm -Uvh /home/dontbuildasroot/rpmbuild/RPMS/x86_64/gettext-devel-${GETTEXT_VERSION}.el8.x86_64.rpm \
|
|
|
|
|
|
|
|
/home/dontbuildasroot/rpmbuild/RPMS/x86_64/gettext-libs-${GETTEXT_VERSION}.el8.x86_64.rpm \
|
|
|
|
|
|
|
|
/home/dontbuildasroot/rpmbuild/RPMS/x86_64/gettext-${GETTEXT_VERSION}.el8.x86_64.rpm \
|
|
|
|
|
|
|
|
/home/dontbuildasroot/rpmbuild/RPMS/noarch/gettext-common-devel-${GETTEXT_VERSION}.el8.noarch.rpm \
|
|
|
|
|
|
|
|
/home/dontbuildasroot/rpmbuild/RPMS/x86_64/libtextstyle-${GETTEXT_VERSION}.el8.x86_64.rpm
|
|
|
|
|
|
|
|
USER dontbuildasroot
|
|
|
|
RUN rpmbuild --rebuild https://download-ib01.fedoraproject.org/pub/fedora/linux/updates/${FROMFEDORA}/Everything/source/tree/Packages/m/${PACKAGE}-${VERSION}.fc${FROMFEDORA}.src.rpm
|
|
|
|
RUN rpmbuild --rebuild https://download-ib01.fedoraproject.org/pub/fedora/linux/updates/${FROMFEDORA}/Everything/source/tree/Packages/m/${PACKAGE}-${VERSION}.fc${FROMFEDORA}.src.rpm
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|