Fix building container images (#28063)
* Fix building container images Patchelf is bootstrapped from sources, so we cannot disable that mechanism until a finer selection is possible in the configuration. * Build on changes to the Dockerfile * Don't login to Dockerhub on PRs
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							18615b1485
						
					
				
				
					commit
					661fd7bb67
				
			@@ -63,7 +63,6 @@ WORKDIR /root
 | 
			
		||||
SHELL ["docker-shell"]
 | 
			
		||||
 | 
			
		||||
# TODO: add a command to Spack that (re)creates the package cache
 | 
			
		||||
RUN spack bootstrap untrust spack-install
 | 
			
		||||
RUN spack spec hdf5+mpi
 | 
			
		||||
 | 
			
		||||
ENTRYPOINT ["/bin/bash", "/opt/spack/share/spack/docker/entrypoint.bash"]
 | 
			
		||||
 
 | 
			
		||||
@@ -67,7 +67,6 @@ WORKDIR /root
 | 
			
		||||
SHELL ["docker-shell"]
 | 
			
		||||
 | 
			
		||||
# TODO: add a command to Spack that (re)creates the package cache
 | 
			
		||||
RUN spack bootstrap untrust spack-install
 | 
			
		||||
RUN spack spec hdf5+mpi
 | 
			
		||||
 | 
			
		||||
ENTRYPOINT ["/bin/bash", "/opt/spack/share/spack/docker/entrypoint.bash"]
 | 
			
		||||
 
 | 
			
		||||
@@ -67,7 +67,6 @@ WORKDIR /root
 | 
			
		||||
SHELL ["docker-shell"]
 | 
			
		||||
 | 
			
		||||
# TODO: add a command to Spack that (re)creates the package cache
 | 
			
		||||
RUN spack bootstrap untrust spack-install
 | 
			
		||||
RUN spack spec hdf5+mpi
 | 
			
		||||
 | 
			
		||||
ENTRYPOINT ["/bin/bash", "/opt/spack/share/spack/docker/entrypoint.bash"]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user