Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 22 additions & 10 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
**/node_modules/
*/build/
*/*/build/

**/venv/
**/.tox/
**/.mypy_cache/
Expand All @@ -9,19 +8,32 @@
**/__pycache__/
out
**/*.class
# Have to copy gradle/wrapper/gradle-wrapper.jar, can't exclude ALL jars
**/build/**/*.jar
# Jars/Wars that are final outputs of java projects.

# Exclude source code (not needed in Docker images, only build artifacts)
**/*.java

# Exclude unnecessary build subdirectories but keep libs/
**/build/classes/
**/build/generated/
**/build/reports/
**/build/test-results/
**/build/tmp/
# Jars/Wars that are final outputs of java projects - keep these!
!**/build/libs/*.war
!**/build/libs/*.jar
!datahub-frontend/build/stage/main/**

# Content in .git is used to get the git version
# Just ignore the heavy parts that are not used
.git/logs
.git/COMMIT_*
.git/index
# Content in .git is used to get the git version during gradle stage, not in docker builds.
.git
.gradle
**/.gradle/

/metadata-ingestion/tests
/metadata-ingestion/examples

# Exclude - included via datahub-frontend
datahub-web-react/

# Exclude docs build artifacts
docs-website/build/
docs-website/.docusaurus/
1 change: 1 addition & 0 deletions docker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ quickstart_configs.each { taskName, config ->
} else {
buildCmd += ["docker", "buildx" ]
buildCmd +=bakeCmdArgs
buildCmd += ["--provenance=false"]
}
commandLine buildCmd
workingDir rootProject.projectDir
Expand Down
Loading