add: .dockerignore to reduce build context size
This commit is contained in:
parent
caa85bc6e8
commit
90155a696a
49
.dockerignore
Normal file
49
.dockerignore
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
# Jenkins相关文件
|
||||||
|
Jenkinsfile*
|
||||||
|
jenkins-docker/
|
||||||
|
*.md
|
||||||
|
|
||||||
|
# Git相关
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
|
||||||
|
# IDE相关
|
||||||
|
.idea/
|
||||||
|
.vscode/
|
||||||
|
*.iml
|
||||||
|
*.ipr
|
||||||
|
*.iws
|
||||||
|
|
||||||
|
# 构建产物(除了需要的jar文件)
|
||||||
|
target/classes/
|
||||||
|
target/test-classes/
|
||||||
|
target/surefire-reports/
|
||||||
|
target/site/
|
||||||
|
target/maven-archiver/
|
||||||
|
target/maven-status/
|
||||||
|
|
||||||
|
# 日志文件
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# 临时文件
|
||||||
|
*.tmp
|
||||||
|
*.swp
|
||||||
|
*~
|
||||||
|
|
||||||
|
# 系统文件
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# Docker相关
|
||||||
|
*.tar
|
||||||
|
docker-compose.yml
|
||||||
|
|
||||||
|
# 部署脚本
|
||||||
|
deploy.sh
|
||||||
|
server-setup*.sh
|
||||||
|
|
||||||
|
# 文档
|
||||||
|
JENKINS_*.md
|
||||||
|
SSH_CONFIG_GUIDE.md
|
||||||
|
ENTERPRISE_JENKINS_GUIDE.md
|
||||||
|
QUICK_START.md
|
Loading…
x
Reference in New Issue
Block a user