Skip to content

chore(bq jdbc): fix docker environment commands#12107

Merged
logachev merged 3 commits intomainfrom
kirl/makefile_setup
Mar 20, 2026
Merged

chore(bq jdbc): fix docker environment commands#12107
logachev merged 3 commits intomainfrom
kirl/makefile_setup

Conversation

@logachev
Copy link
Copy Markdown
Contributor

  • Update make install to work in monorepo
  • Update dockerfile to handle monorepo. Due to its size, using repo root for context is taking too long (20+ minutes to just copy files to Docker image). Replaced it with git clone. It makes it not suitable to validate cross-library changes, but vast majority of JDBC work is within JDBC folder.

@logachev logachev requested review from a team as code owners March 18, 2026 00:49
@logachev logachev enabled auto-merge (squash) March 18, 2026 23:40
@logachev
Copy link
Copy Markdown
Contributor Author

gemini /review

@logachev
Copy link
Copy Markdown
Contributor Author

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Docker and Makefile configurations to improve the build process within a monorepo structure. The main change is switching from copying a large number of files into the Docker context to cloning the repository directly within the Docker build, which is a good approach to speed up context transfer. The related changes in the Makefile and pom.xml are consistent with this new strategy. However, I found a critical issue in the Dockerfile where git is used but not installed, which will cause the build to fail. My review includes a suggested fix for this issue.

Comment thread java-bigquery/google-cloud-bigquery-jdbc/Dockerfile
@logachev logachev merged commit 353f577 into main Mar 20, 2026
56 checks passed
@logachev logachev deleted the kirl/makefile_setup branch March 20, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants