X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fremote-installer.git;a=blobdiff_plain;f=remote-installer.spec;h=bbbbcb47048bda357534934f1ad139b31e369287;hp=b57991e59fc90d8a1b0578a1d96608e60268c872;hb=HEAD;hpb=f9adb9143ef94b16ae16941652e75deccad506ef diff --git a/remote-installer.spec b/remote-installer.spec index b57991e..bbbbcb4 100644 --- a/remote-installer.spec +++ b/remote-installer.spec @@ -14,14 +14,13 @@ Name: remote-installer Version: %{_version} -Release: 1%{?dist} +Release: 6%{?dist} Summary: Contains components for the remote-installer Group: %{_platform_group} License: %{_platform_licence} Source0: %{name}-%{version}.tar.gz Vendor: %{_platform_vendor} - -BuildArch: noarch +BuildArch: %{_arch} # BuildRequires: docker @@ -31,18 +30,7 @@ Contains components for the remote-installer %prep %build -docker build \ - --network=host \ - --no-cache \ - --force-rm \ - --build-arg HTTP_PROXY="${http_proxy}" \ - --build-arg HTTPS_PROXY="${https_proxy}" \ - --build-arg NO_PROXY="${no_proxy}" \ - --build-arg http_proxy="${http_proxy}" \ - --build-arg https_proxy="${https_proxy}" \ - --build-arg no_proxy="${no_proxy}" \ - --tag remote-installer \ - --file docker-build/remote-installer/Dockerfile . +scripts/build.sh # Here hould be some registry but it should be handled by a Jenkis job docker image save remote-installer >remote-installer-image.tar