diff --git a/images/rpmbuild-almalinux8/Dockerfile b/images/rpmbuild-almalinux8/Dockerfile index c3f2140..163814f 100644 --- a/images/rpmbuild-almalinux8/Dockerfile +++ b/images/rpmbuild-almalinux8/Dockerfile @@ -15,5 +15,6 @@ RUN dnf update -y && \ rpm-build rpmdevtools rpm-sign rpmlint shadow-utils systemd unzip \ python3.11-devel python3.11 +RUN COPY /rpmbuild-almalinux8/rpmlintrc.toml /etc/xdg/rpmlint/ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && unzip awscliv2.zip RUN ./aws/install diff --git a/images/rpmbuild-almalinux8/rpmlintrc.toml b/images/rpmbuild-almalinux8/rpmlintrc.toml new file mode 100644 index 0000000..0e27fc6 --- /dev/null +++ b/images/rpmbuild-almalinux8/rpmlintrc.toml @@ -0,0 +1,3 @@ +#suppress warnings for invalid-url Source0 + +Filters = ['W: invalid-url Source*'] diff --git a/images/rpmbuild-centos-stream9/Dockerfile b/images/rpmbuild-centos-stream9/Dockerfile index e6ab3ee..ec5c390 100644 --- a/images/rpmbuild-centos-stream9/Dockerfile +++ b/images/rpmbuild-centos-stream9/Dockerfile @@ -13,6 +13,7 @@ RUN dnf module enable -y nodejs:20 && \ openssl pango pango-devel perl-devel python3.11 qt5-qtbase \ rpm-build rpmdevtools rpm-sign rpmlint shadow-utils systemd unzip +RUN COPY /rpmbuild-centos-stream9/rpmlintrc.toml /etc/xdg/rpmlint/ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" RUN unzip awscliv2.zip RUN ./aws/install diff --git a/images/rpmbuild-centos-stream9/rpmlintrc.toml b/images/rpmbuild-centos-stream9/rpmlintrc.toml new file mode 100644 index 0000000..0e27fc6 --- /dev/null +++ b/images/rpmbuild-centos-stream9/rpmlintrc.toml @@ -0,0 +1,3 @@ +#suppress warnings for invalid-url Source0 + +Filters = ['W: invalid-url Source*'] diff --git a/images/rpmbuild-centos7/Dockerfile b/images/rpmbuild-centos7/Dockerfile index 8b8d1d7..afbd85a 100644 --- a/images/rpmbuild-centos7/Dockerfile +++ b/images/rpmbuild-centos7/Dockerfile @@ -14,6 +14,7 @@ RUN yum update -y && \ openssl openssl11 pango pango-devel perl-devel python3 qtwebkit rpm-build \ rpmdevtools rpmlint rpm-sign shadow-utils systemd tar unzip +RUN COPY /rpmbuild-centos7/rpmlintrc.toml /etc/xdg/rpmlint/ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" RUN unzip awscliv2.zip RUN ./aws/install diff --git a/images/rpmbuild-centos7/rpmlintrc.toml b/images/rpmbuild-centos7/rpmlintrc.toml new file mode 100644 index 0000000..0e27fc6 --- /dev/null +++ b/images/rpmbuild-centos7/rpmlintrc.toml @@ -0,0 +1,3 @@ +#suppress warnings for invalid-url Source0 + +Filters = ['W: invalid-url Source*'] diff --git a/images/rpmbuild-fedora/Dockerfile b/images/rpmbuild-fedora/Dockerfile index 29f74fd..ca21d02 100644 --- a/images/rpmbuild-fedora/Dockerfile +++ b/images/rpmbuild-fedora/Dockerfile @@ -4,3 +4,5 @@ RUN dnf update -y && \ dnf install -y \ rpm-build rpmdevtools rpm-sign rpmlint git dnf-plugins-core nodejs npm make automake gcc \ gcc-c++ kernel-devel python3 glibc systemd openssl fontconfig-devel freetype freetype-devel boost awscli + +RUN COPY /rpmbuild-fedora/rpmlintrc.toml /etc/xdg/rpmlint/ diff --git a/images/rpmbuild-fedora/rpmlintrc.toml b/images/rpmbuild-fedora/rpmlintrc.toml new file mode 100644 index 0000000..0e27fc6 --- /dev/null +++ b/images/rpmbuild-fedora/rpmlintrc.toml @@ -0,0 +1,3 @@ +#suppress warnings for invalid-url Source0 + +Filters = ['W: invalid-url Source*']