diff --git a/builder/build-rpm-inside-docker b/builder/build-rpm-inside-docker index 1e856c6..5f51cd1 100755 --- a/builder/build-rpm-inside-docker +++ b/builder/build-rpm-inside-docker @@ -27,3 +27,4 @@ os_dir="build/${os}_${os_codename}" prepare_build_env rpmbuild -ba ~/rpmbuild/SPECS/kasmvncserver.spec copy_rpm_to_build_dir +rpmlint "$os_dir"/*.rpm || true diff --git a/builder/dockerfile.centos_core.rpm.build b/builder/dockerfile.centos_core.rpm.build index 925eee4..7a4e208 100644 --- a/builder/dockerfile.centos_core.rpm.build +++ b/builder/dockerfile.centos_core.rpm.build @@ -1,6 +1,6 @@ FROM centos:centos7 -RUN yum install -y rpm* gpg* rng-tools +RUN yum install -y rpm* gpg* rng-tools rpmlint RUN yum install -y tree vim less RUN yum install -y redhat-lsb-core