mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-11-03 23:57:26 +00:00 
			
		
		
		
	tidy repo
This commit is contained in:
		
							parent
							
								
									3e5cf496d3
								
							
						
					
					
						commit
						f557b77be8
					
				@ -1,8 +1,3 @@
 | 
			
		||||
# Simple usage with a mounted data directory:
 | 
			
		||||
# > docker build -t gaia .
 | 
			
		||||
# > docker run -v $HOME/.gaiad:/root/.gaiad gaia init
 | 
			
		||||
# > docker run -v $HOME/.gaiad:/root/.gaiad gaia start
 | 
			
		||||
 | 
			
		||||
FROM alpine:edge
 | 
			
		||||
 | 
			
		||||
# Set up dependencies
 | 
			
		||||
@ -38,6 +33,5 @@ RUN cd $REPO_PATH && make all && make install
 | 
			
		||||
# remove packages
 | 
			
		||||
RUN apk del $PACKAGES
 | 
			
		||||
 | 
			
		||||
# Set entrypoint
 | 
			
		||||
#ENTRYPOINT ["gaiad"]
 | 
			
		||||
CMD ["gaiad"]
 | 
			
		||||
# Set default command
 | 
			
		||||
CMD ["kavad"]
 | 
			
		||||
@ -1,6 +0,0 @@
 | 
			
		||||
This Dockerfile is to build cosmos-sdk. It needs to be in the cosmos-sdk repo to build.
 | 
			
		||||
 | 
			
		||||
It modifies the existing Dockerfile in the cosmos-sdk:
 | 
			
		||||
 | 
			
		||||
 - split up commands to make use of layers to make rebuilds and uploads faster
 | 
			
		||||
 - switch `ENTRYPOINT gaiad` to `CMD gaiad` to save typing `--entrypoint` all the time
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user