Browse Source
			
			
			Merge pull request #720 from gnu300/master
			
				cleaner startup exec in order to build the image and run the containe…
			
			
				pull/725/head
			
			
		 
		
			
				
					
						
						Daniel García
					
					6 years ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 12 changed files with 
24 additions and 
12 deletions
			 
			
		 
		
			
				- 
					
					
					 
					docker/aarch64/mysql/Dockerfile
				
 
			
				- 
					
					
					 
					docker/aarch64/sqlite/Dockerfile
				
 
			
				- 
					
					
					 
					docker/amd64/mysql/Dockerfile
				
 
			
				- 
					
					
					 
					docker/amd64/mysql/Dockerfile.alpine
				
 
			
				- 
					
					
					 
					docker/amd64/postgresql/Dockerfile
				
 
			
				- 
					
					
					 
					docker/amd64/postgresql/Dockerfile.alpine
				
 
			
				- 
					
					
					 
					docker/amd64/sqlite/Dockerfile
				
 
			
				- 
					
					
					 
					docker/amd64/sqlite/Dockerfile.alpine
				
 
			
				- 
					
					
					 
					docker/armv6/mysql/Dockerfile
				
 
			
				- 
					
					
					 
					docker/armv6/sqlite/Dockerfile
				
 
			
				- 
					
					
					 
					docker/armv7/mysql/Dockerfile
				
 
			
				- 
					
					
					 
					docker/armv7/sqlite/Dockerfile
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -103,4 +103,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					# Configures the startup! | 
					 | 
					 | 
					# Configures the startup! | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					CMD ["./bitwarden_rs"] | 
					 | 
					 | 
					WORKDIR / | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					CMD ["/bitwarden_rs"] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -102,4 +102,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					# Configures the startup! | 
					 | 
					 | 
					# Configures the startup! | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					CMD ["./bitwarden_rs"] | 
					 | 
					 | 
					WORKDIR / | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					CMD ["/bitwarden_rs"] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -100,4 +100,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					# Configures the startup! | 
					 | 
					 | 
					# Configures the startup! | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					CMD ["./bitwarden_rs"] | 
					 | 
					 | 
					WORKDIR / | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					CMD ["/bitwarden_rs"] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -82,4 +82,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					# Configures the startup! | 
					 | 
					 | 
					# Configures the startup! | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					CMD ["./bitwarden_rs"] | 
					 | 
					 | 
					WORKDIR / | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					CMD ["/bitwarden_rs"] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -101,4 +101,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					# Configures the startup! | 
					 | 
					 | 
					# Configures the startup! | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					CMD ["./bitwarden_rs"] | 
					 | 
					 | 
					WORKDIR / | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					CMD ["/bitwarden_rs"] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -83,4 +83,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					# Configures the startup! | 
					 | 
					 | 
					# Configures the startup! | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					CMD ["./bitwarden_rs"] | 
					 | 
					 | 
					WORKDIR / | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					CMD ["/bitwarden_rs"] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -94,4 +94,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					# Configures the startup! | 
					 | 
					 | 
					# Configures the startup! | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					CMD ["./bitwarden_rs"] | 
					 | 
					 | 
					WORKDIR / | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					CMD ["/bitwarden_rs"] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -77,4 +77,5 @@ HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					# Configures the startup! | 
					 | 
					 | 
					# Configures the startup! | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					CMD ["./bitwarden_rs"] | 
					 | 
					 | 
					WORKDIR / | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					CMD ["/bitwarden_rs"] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -103,4 +103,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					# Configures the startup! | 
					 | 
					 | 
					# Configures the startup! | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					CMD ["./bitwarden_rs"] | 
					 | 
					 | 
					WORKDIR / | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					CMD ["/bitwarden_rs"] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -102,4 +102,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					# Configures the startup! | 
					 | 
					 | 
					# Configures the startup! | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					CMD ["./bitwarden_rs"] | 
					 | 
					 | 
					WORKDIR / | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					CMD ["/bitwarden_rs"] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -104,4 +104,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					# Configures the startup! | 
					 | 
					 | 
					# Configures the startup! | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					CMD ["./bitwarden_rs"] | 
					 | 
					 | 
					WORKDIR / | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					CMD ["/bitwarden_rs"] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -102,4 +102,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
					 | 
					 | 
					HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					# Configures the startup! | 
					 | 
					 | 
					# Configures the startup! | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					CMD ["./bitwarden_rs"] | 
					 | 
					 | 
					WORKDIR / | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					CMD ["/bitwarden_rs"] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  |