mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-04-24 13:34:56 +00:00
Add .dockerignore to optimize Docker builds
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
49
.dockerignore
Normal file
49
.dockerignore
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
# Git
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
.github
|
||||||
|
|
||||||
|
# Documentation
|
||||||
|
*.md
|
||||||
|
!README.md
|
||||||
|
ARCHITECTURE.md
|
||||||
|
CONTRIBUTING.md
|
||||||
|
LICENSE
|
||||||
|
|
||||||
|
# Build artifacts
|
||||||
|
init
|
||||||
|
*.o
|
||||||
|
*.a
|
||||||
|
*.so
|
||||||
|
*.img
|
||||||
|
*.iso
|
||||||
|
build/
|
||||||
|
|
||||||
|
# Generated rootfs contents (we build our own in Docker)
|
||||||
|
rootfs/bin/*
|
||||||
|
rootfs/sbin/init
|
||||||
|
rootfs/usr/
|
||||||
|
rootfs/lib/
|
||||||
|
rootfs/lib64/
|
||||||
|
rootfs/boot/
|
||||||
|
|
||||||
|
# Keep rootfs structure
|
||||||
|
!rootfs/etc/
|
||||||
|
!rootfs/root/
|
||||||
|
!rootfs/home/
|
||||||
|
|
||||||
|
# Temporary files
|
||||||
|
*.tmp
|
||||||
|
*.bak
|
||||||
|
/tmp/
|
||||||
|
|
||||||
|
# IDE and editor files
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
*~
|
||||||
|
|
||||||
|
# OS files
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
Reference in New Issue
Block a user