1
0
Fork 0
mirror of https://github.com/imjasonh/build-old-fork synced 2026-07-06 22:53:01 +00:00
build-old-fork/third_party
Matt Moore 483fe43d30 Add our/vendor licenses to each of our ko-generated images. (#269)
This was verified by examining the output of:
```
$ ko resolve -L -f config/
...

$ for x in $(docker images -q); do
  CONTAINER=$(docker run -d --entrypoint=false $x)
  docker cp ${CONTAINER}:/var/run/ko/VENDOR-LICENSE /tmp/VENDOR-LICENSE
  grep Import: /tmp/VENDOR-LICENSE
  docker rm -f ${CONTAINER}
done

$ for x in $(docker images -q); do
  CONTAINER=$(docker run -d --entrypoint=false $x)
  docker cp ${CONTAINER}:/var/run/ko/LICENSE -
  docker rm -f ${CONTAINER}
done
```

In a subsequent change, I will automate generation of `third_party/VENDOR-LICENSE` when we run `./hack/update-deps.sh` and make the tool I wrote to generate this accessible to others.

Related to #1608
2018-07-20 13:36:33 -07:00
..
VENDOR-LICENSE Add our/vendor licenses to each of our ko-generated images. (#269) 2018-07-20 13:36:33 -07:00