Skip to content

Commit

Permalink
Update runInPupeteerDocker from master
Browse files Browse the repository at this point in the history
  • Loading branch information
at055612 committed Sep 4, 2024
1 parent ee1ba25 commit 06f4d9b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions container_build/runInPupeteerDocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,16 @@ main() {
echo -e "${GREEN}Group ID ${BLUE}${group_id}${NC}"
echo -e "${GREEN}Local repo root dir ${BLUE}${local_repo_root}${NC}"

if ! docker version >/dev/null 2>&1; then
echo -e "${RED}ERROR: Docker is not installed. Please install Docker or Docker Desktop.${NC}"
exit 1
fi

if ! docker buildx version >/dev/null 2>&1; then
echo -e "${RED}ERROR: Docker buildx is not installed. Please install it.${NC}"
exit 1
fi

# So we are not rate limited, login before doing the build as this
# will pull images
docker_login
Expand Down

0 comments on commit 06f4d9b

Please sign in to comment.