Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 5f18965

Browse files
Arko DasguptathaJeztah
authored andcommitted
Undo baseurl string replace for altarch
Signed-off-by: Arko Dasgupta <arko.dasgupta@docker.com> (cherry picked from commit 8b4a45a) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 922a9f8d2b8326639383036e9435801545402768 Component: packaging
1 parent d9d139d commit 5f18965

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

components/packaging/rpm/centos-7/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ ENV DISTRO=${DISTRO}
1919
ENV SUITE=${SUITE}
2020
RUN yum install -y rpm-build rpmlint
2121
COPY SPECS /root/rpmbuild/SPECS
22-
# Overwrite repo that was failing on aarch64
23-
RUN sed -i 's/altarch/centos/g' /etc/yum.repos.d/CentOS-Sources.repo
2422
RUN yum-builddep -y /root/rpmbuild/SPECS/*.spec
2523
COPY --from=golang /usr/local/go /usr/local/go
2624
WORKDIR /root/rpmbuild

components/packaging/rpm/centos-8/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ ENV DISTRO=${DISTRO}
1919
ENV SUITE=${SUITE}
2020
RUN yum install -y rpm-build rpmlint
2121
COPY SPECS /root/rpmbuild/SPECS
22-
# Overwrite repo that was failing on aarch64
23-
RUN sed -i 's/altarch/centos/g' /etc/yum.repos.d/CentOS-Sources.repo
2422
RUN yum-builddep -y /root/rpmbuild/SPECS/*.spec
2523
COPY --from=golang /usr/local/go /usr/local/go
2624
WORKDIR /root/rpmbuild

0 commit comments

Comments
 (0)