mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-12 04:10:08 +00:00
Update LinuxKit for merge of moby tool
- use the mkimage hashes that we had in LinuxKit as more up to date than tool. - update docs - move the code from moby under src/cmd/linuxkit Signed-off-by: Justin Cormack <justin@specialbusservice.com>
This commit is contained in:
committed by
Justin Cormack
parent
021b5718f8
commit
cf5cec204d
@@ -13,12 +13,6 @@ Details of usage of the `vndr` tool and the format of `vendor.conf` can be found
|
||||
Once done, you must run the `vndr` tool to add the necessary files to the `vendor` directory.
|
||||
The easiest way to do this is in a container.
|
||||
|
||||
Currently if updating `github.com/moby/tool` it is also necessary to
|
||||
update `src/cmd/linuxkit/build.go` manually after updating `vendor.conf`:
|
||||
|
||||
hash=$(awk '/^github.com\/moby\/tool/ { print $2 }' src/cmd/linuxkit/vendor.conf)
|
||||
curl -fsSL -o src/cmd/linuxkit/build.go https://raw.githubusercontent.com/moby/tool/${hash}/cmd/moby/build.go
|
||||
|
||||
## Updating in a container
|
||||
|
||||
To update all dependencies:
|
||||
|
Reference in New Issue
Block a user