add hooks and dockerfiles
add hooks and dockerfiles
This commit is contained in:
parent
2f331ae440
commit
4f820ebce8
6 changed files with 109 additions and 0 deletions
9
hooks/post_push
Normal file
9
hooks/post_push
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Use manifest-tool to create the manifest, given the experimental
|
||||
# "docker manifest" command isn't available yet on Docker Hub.
|
||||
|
||||
curl -Lo manifest-tool https://github.com/estesp/manifest-tool/releases/download/v1.0.0/manifest-tool-linux-amd64
|
||||
chmod +x manifest-tool
|
||||
|
||||
./manifest-tool push from-spec multi-arch-manifest.yaml
|
||||
5
hooks/pre_build
Normal file
5
hooks/pre_build
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Register qemu-*-static for all supported processors except the
|
||||
# current one, but also remove all registered binfmt_misc before
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
Loading…
Add table
Add a link
Reference in a new issue