Add nginx-matrix
This commit is contained in:
committed by
Christian Richter
parent
61da308f8b
commit
c1f9b4a49e
4
nginx-matrix/Dockerfile
Normal file
4
nginx-matrix/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
FROM nginx:latest
|
||||||
|
EXPOSE 80
|
||||||
|
EXPOSE 443
|
||||||
|
EXPOSE 8448
|
||||||
5
nginx-matrix/Dockerfile.arm32v7
Normal file
5
nginx-matrix/Dockerfile.arm32v7
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
FROM arm32v7/nginx:latest
|
||||||
|
COPY qemu-arm-static /usr/bin
|
||||||
|
EXPOSE 80
|
||||||
|
EXPOSE 443
|
||||||
|
EXPOSE 8448
|
||||||
2
nginx-matrix/hooks/post_checkout
Normal file
2
nginx-matrix/hooks/post_checkout
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
curl -L https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-arm.tar.gz | tar zxvf - -C . && mv qemu-3.0.0+resin-arm/qemu-arm-static . && pwd && ls
|
||||||
4
nginx-matrix/hooks/pre_build
Normal file
4
nginx-matrix/hooks/pre_build
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/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
|
||||||
Reference in New Issue
Block a user