10
									
								
								install.sh
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								install.sh
									
									
									
									
									
								
							@@ -1,6 +1,8 @@
 | 
				
			|||||||
#!/usr/bin/env bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
set -e
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					source <(grep -v '^#' .env | sed -E 's|^(.+)=(.*)$|: ${\1=\2}; export \1|g')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
dc="docker-compose --no-ansi"
 | 
					dc="docker-compose --no-ansi"
 | 
				
			||||||
dcr="$dc run --rm"
 | 
					dcr="$dc run --rm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -171,12 +173,8 @@ echo ""
 | 
				
			|||||||
# redirection below and pass it through grep, ignoring all lines having this '-onpremise-local' suffix.
 | 
					# redirection below and pass it through grep, ignoring all lines having this '-onpremise-local' suffix.
 | 
				
			||||||
$dc pull -q --ignore-pull-failures 2>&1 | grep -v -- -onpremise-local || true
 | 
					$dc pull -q --ignore-pull-failures 2>&1 | grep -v -- -onpremise-local || true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -z "$SENTRY_IMAGE" ]; then
 | 
					# We may not have the set image on the repo (local images) so allow fails
 | 
				
			||||||
  docker pull getsentry/sentry:${SENTRY_VERSION:-latest}
 | 
					docker pull $SENTRY_IMAGE || true;
 | 
				
			||||||
else
 | 
					 | 
				
			||||||
  # We may not have the set image on the repo (local images) so allow fails
 | 
					 | 
				
			||||||
  docker pull $SENTRY_IMAGE || true;
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo ""
 | 
					echo ""
 | 
				
			||||||
echo "Building and tagging Docker images..."
 | 
					echo "Building and tagging Docker images..."
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user