mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 04:15:16 +00:00
kernel: Use local kernel source if available
The kernel build currently downloads the source tar ball every time, which is a little tedious when experimenting with kernel configs or when compiling the kernel multiple times. This commit adds a new 'fetch' make target which downloads the kernel sources into ./sources. Then in the Dockerfile we add the directory and only download the source if it is not present. The tarballs signature is till checked on each build. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -10,6 +10,7 @@ Dockerfile.media
|
||||
*.vmdk
|
||||
*.vmdk.lck
|
||||
*.tar
|
||||
*.tar.xz
|
||||
*.gz
|
||||
*.vhdx
|
||||
*.efi
|
||||
|
||||
Reference in New Issue
Block a user