Use unprivileged user to run seb-server
This commit is contained in:
		
							parent
							
								
									a96064b0c4
								
							
						
					
					
						commit
						dd0ccc0ca7
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -6,7 +6,7 @@ ENV JMX_PORT="9090" | |||
| ENV SERVER_PWD=somePW | ||||
| 
 | ||||
| RUN groupadd --system spring && useradd --system --gid spring spring | ||||
| # USER spring:spring | ||||
| USER spring:spring | ||||
| 
 | ||||
| COPY docker/demo/config/ /sebserver/config/ | ||||
| COPY seb-server-$SEBSERVER_JAR.jar /sebserver/seb-server-$SEBSERVER_JAR.jar | ||||
|  |  | |||
|  | @ -14,7 +14,7 @@ logging.level.ROOT=WARN | |||
| logging.level.ch=DEBUG | ||||
| # Log file name and location | ||||
| # TODO: logging should go to stdout | ||||
| logging.file=/sebserver/log/sebserver.log | ||||
| logging.file=/dev/stdout | ||||
| 
 | ||||
| ########################################################## | ||||
| ### SEB Server Webservice configuration | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bengt Giger
						Bengt Giger