diff --git a/ros_buildfarm/templates/release/rpm/binarypkg_task.Dockerfile.em b/ros_buildfarm/templates/release/rpm/binarypkg_task.Dockerfile.em index a37b38d0b..dfcbef858 100644 --- a/ros_buildfarm/templates/release/rpm/binarypkg_task.Dockerfile.em +++ b/ros_buildfarm/templates/release/rpm/binarypkg_task.Dockerfile.em @@ -30,6 +30,7 @@ RUN dnf update --refresh -y RUN echo -e "@('\\n'.join(key.splitlines()))" > /etc/pki/mock/RPM-GPG-KEY-ros-buildfarm-@(i) @[end for]@ COPY mock_config.cfg /etc/mock/ros_buildfarm.cfg +RUN chmod 644 /etc/mock/ros_buildfarm.cfg USER buildfarm ENTRYPOINT ["sh", "-c"] diff --git a/ros_buildfarm/templates/release/rpm/sourcepkg_task.Dockerfile.em b/ros_buildfarm/templates/release/rpm/sourcepkg_task.Dockerfile.em index 8d61ba32b..d187e125e 100644 --- a/ros_buildfarm/templates/release/rpm/sourcepkg_task.Dockerfile.em +++ b/ros_buildfarm/templates/release/rpm/sourcepkg_task.Dockerfile.em @@ -25,6 +25,7 @@ RUN dnf update --refresh -y RUN echo -e "@('\\n'.join(key.splitlines()))" > /etc/pki/mock/RPM-GPG-KEY-ros-buildfarm-@(i) @[end for]@ COPY mock_config.cfg /etc/mock/ros_buildfarm.cfg +RUN chmod 644 /etc/mock/ros_buildfarm.cfg USER buildfarm ENTRYPOINT ["sh", "-c"]