Skip to content

Commit ce11c2c

Browse files
fixing broken package rpm build
1 parent 381280b commit ce11c2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/packages/Dockerfile.rpm

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ ARG FPM_OUTPUT_TYPE=rpm
1919

2020
# WORKAROUND
2121
# REF: https://github.com/jordansissel/fpm/issues/2076
22+
RUN find /usr/local/share/gems/gems -name "rpm.rb"
2223
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
2324

2425
COPY *.sh /

0 commit comments

Comments
 (0)