mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00:00 
			
		
		
		
	* Dropped unused codekit config * Integrated dynamic and static bindata for public * Ignore public bindata * Add a general generate make task * Integrated flexible public assets into web command * Updated vendoring, added all missiong govendor deps * Made the linter happy with the bindata and dynamic code * Moved public bindata definition to modules directory * Ignoring the new bindata path now * Updated to the new public modules import path * Updated public bindata command and drop the new prefix
		
			
				
	
	
		
			16 lines
		
	
	
		
			367 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			367 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM golang
 | |
| 
 | |
| VOLUME /opt
 | |
| 
 | |
| RUN apt-get update && apt-get install -y wget git make ; \
 | |
|         cd /opt ; \
 | |
|         export PATH=$GOROOT/bin:$GOPATH/bin:$PATH ; \
 | |
|         go get -d github.com/pingcap/tidb ; \
 | |
|         cd $GOPATH/src/github.com/pingcap/tidb ; \
 | |
|         make ; make server ; cp tidb-server/tidb-server /usr/bin/ 
 | |
| 
 | |
| EXPOSE 4000
 | |
| 
 | |
| CMD ["/usr/bin/tidb-server"]
 | |
| 
 |