diff --git a/dockerbuild/Dockerfile.centos8 b/dockerbuild/Dockerfile.centos8 index 106ab5b44..0f612347f 100644 --- a/dockerbuild/Dockerfile.centos8 +++ b/dockerbuild/Dockerfile.centos8 @@ -16,8 +16,7 @@ RUN useradd jenkins-build RUN echo $'\n\ export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin\n\ - source scl_source enable devtoolset-8 llvm-toolset-7\n'\ - >> ~/.bash_profile + ' >> /etc/profile RUN mkdir /rpmbuild && chmod 777 /rpmbuild