diff --git a/build/docker/rpmbuild/Dockerfile.el9 b/build/docker/rpmbuild/Dockerfile.el9 index e958731d93..6f3c445b23 100644 --- a/build/docker/rpmbuild/Dockerfile.el9 +++ b/build/docker/rpmbuild/Dockerfile.el9 @@ -49,7 +49,7 @@ RUN useradd builder -u 1000 -m -G users,wheel && \ echo "builder ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers && \ echo "# macros" > /home/builder/.rpmmacros && \ echo "%_topdir /home/builder/rpm" >> /home/builder/.rpmmacros && \ - mkdir /home/builder/rpm && \ + mkdir -p /home/builder/rpm /home/builder/.cache/go-build /home/builder/go/pkg/mod && \ chmod 755 /home/builder && \ chown -R builder:builder /home/builder