Skip to content

Commit

Permalink
ci: Update RPM dockerfile to hack around mirrorlist EOL (#2597)
Browse files Browse the repository at this point in the history
  • Loading branch information
tippmar-nr authored Jul 8, 2024
1 parent 9cbaef3 commit b17bfab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/Linux/build/rpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ FROM rpmbuild/centos7

USER root
ADD Image-ExifTool-12.28.tar.gz /exiftool

# temporary workaround until we can move to a non-centos7 base image
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

RUN yum --assumeyes install dos2unix rpm-sign expect perl-ExtUtils-MakeMaker

# Install exiftool
Expand Down

0 comments on commit b17bfab

Please sign in to comment.