Convert all of pkg/* to linuxkit pkg build

This was done with the following "script":

    git rm pkg/{auditd,binfmt,init}/Makefile
    sed -e 's/IMAGE=/image: /g' -i pkg/*/Makefile
    sed -e 's/NETWORK=1/network: true/g' -i pkg/*/Makefile
    sed -e 's/ARCHES=x86_64/arches:\n  - amd64/g' -i pkg/*/Makefile
    sed -e '/DEPS:\?=/d' -i pkg/*/Makefile
    sed -e '/ARCHES=SKIP/d' -i pkg/node_exporter/Makefile
    sed -e 's/include \.\.\/package.mk//g' -i pkg/*/Makefile
    sed -e '/^$/d' -i pkg/*/Makefile
    git mv pkg/node_exporter/Makefile pkg/node_exporter/build.yml-skip
    for i in pkg/*/Makefile ; do git mv $i ${i%Makefile}build.yml ; done

and manual update of pkg/Makefile.

Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
Ian Campbell
2017-10-09 16:17:24 +01:00
parent c889f13251
commit fc3e659f0e
61 changed files with 59 additions and 184 deletions

View File

@@ -1,16 +0,0 @@
.PHONY: push forcepush tag forcetag show-tag
push:
linuxkit pkg push .
forcepush:
linuxkit pkg push --force .
tag:
linuxkit pkg build .
forcetag:
linuxkit pkg build --force .
show-tag:
linuxkit pkg show-tag .