Skip to content

Commit da53eff

Browse files
committedMar 8, 2025·
fixing broken build due to undetected ruby gems folder
1 parent b1045f1 commit da53eff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/packages/Dockerfile.rpm

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ ARG FPM_OUTPUT_TYPE=rpm
1919

2020
# WORKAROUND
2121
# REF: https://github.com/jordansissel/fpm/issues/2076
22-
RUN find /usr/local/share/ruby*gems/gems -name "rpm.rb"
23-
RUN sed -i -e 's/args = \["rpmbuild", "-bb"\]/args = \["rpmbuild", "-bb", "--buildroot", "#{build_path}\/BUILD"\]/g' /usr/local/share/ruby*gems/gems/fpm-*/lib/fpm/package/rpm.rb
22+
RUN find /usr/local/share/*gems/gems -name "rpm.rb"
23+
RUN sed -i -e 's/args = \["rpmbuild", "-bb"\]/args = \["rpmbuild", "-bb", "--buildroot", "#{build_path}\/BUILD"\]/g' /usr/local/share/*gems/gems/fpm-*/lib/fpm/package/rpm.rb
2424

2525
COPY *.sh /
2626

0 commit comments

Comments
 (0)
Please sign in to comment.