Skip to content

Commit e5db4d1

Browse files
author
ading007
authored
Update local repo docker file for excluding unuseful rpm package (#8607)
1 parent 24d6a58 commit e5db4d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

infra/integration-image/local-repo/Dockerfile.photon-2.0

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ kubernetes*,linux-docs*,linux-sound*,linux-tools*,docbook*,httpd*,go-*,jna*,\
2121
linux-debuginfo*,linux-dev*,linux-docs*,linux-drivers*,linux-oprofile*,linux-sound*,\
2222
linux-tools*,linux-esx-debuginfo*,linux-esx-devel*,linux-esx-docs*,nginx*,sysdig*"
2323

24-
RUN wget -qO- https://dl.bintray.com/vmware/photon_release_2.0_x86_64/x86_64/ | grep -Po '(?<=href=":)[^"]*.rpm' | xargs -I {} wget -e robots=off -nH -nd -np -R $EXCLUDE_LIST https://dl.bintray.com/vmware/photon_release_2.0_x86_64/x86_64/{} -P /usr/share/nginx/html/photon/x86_64/
25-
RUN wget -qO- https://dl.bintray.com/vmware/photon_release_2.0_x86_64/noarch/ | grep -Po '(?<=href=":)[^"]*.rpm' | xargs -I {} wget -e robots=off -nH -nd -np -R $EXCLUDE_LIST https://dl.bintray.com/vmware/photon_release_2.0_x86_64/noarch/{} -P /usr/share/nginx/html/photon/noarch/
26-
RUN wget -qO- https://dl.bintray.com/vmware/photon_updates_2.0_x86_64/x86_64/ | grep -Po '(?<=href=":)[^"]*.rpm' | xargs -I {} wget -e robots=off -nH -nd -np -R $EXCLUDE_LIST https://dl.bintray.com/vmware/photon_updates_2.0_x86_64/x86_64/{} -P /usr/share/nginx/html/photon-updates/x86_64/
27-
RUN wget -qO- https://dl.bintray.com/vmware/photon_updates_2.0_x86_64/noarch/ | grep -Po '(?<=href=":)[^"]*.rpm' | xargs -I {} wget -e robots=off -nH -nd -np -R $EXCLUDE_LIST https://dl.bintray.com/vmware/photon_updates_2.0_x86_64/noarch/{} -P /usr/share/nginx/html/photon-updates/noarch/
24+
RUN wget -qO- https://dl.bintray.com/vmware/photon_release_2.0_x86_64/x86_64/ | grep -Po '(?<=href=":)[^"]*.rpm' | xargs -I {} wget -e robots=off -r -nH -nd -np -R $EXCLUDE_LIST https://dl.bintray.com/vmware/photon_release_2.0_x86_64/x86_64/{} -P /usr/share/nginx/html/photon/x86_64/
25+
RUN wget -qO- https://dl.bintray.com/vmware/photon_release_2.0_x86_64/noarch/ | grep -Po '(?<=href=":)[^"]*.rpm' | xargs -I {} wget -e robots=off -r -nH -nd -np -R $EXCLUDE_LIST https://dl.bintray.com/vmware/photon_release_2.0_x86_64/noarch/{} -P /usr/share/nginx/html/photon/noarch/
26+
RUN wget -qO- https://dl.bintray.com/vmware/photon_updates_2.0_x86_64/x86_64/ | grep -Po '(?<=href=":)[^"]*.rpm' | xargs -I {} wget -e robots=off -r -nH -nd -np -R $EXCLUDE_LIST https://dl.bintray.com/vmware/photon_updates_2.0_x86_64/x86_64/{} -P /usr/share/nginx/html/photon-updates/x86_64/
27+
RUN wget -qO- https://dl.bintray.com/vmware/photon_updates_2.0_x86_64/noarch/ | grep -Po '(?<=href=":)[^"]*.rpm' | xargs -I {} wget -e robots=off -r -nH -nd -np -R $EXCLUDE_LIST https://dl.bintray.com/vmware/photon_updates_2.0_x86_64/noarch/{} -P /usr/share/nginx/html/photon-updates/noarch/
2828

2929
RUN createrepo /usr/share/nginx/html/photon
3030
RUN createrepo /usr/share/nginx/html/photon-updates

0 commit comments

Comments
 (0)