Add nginx-matrix

This commit is contained in:
Christian
2020-08-05 14:20:24 +02:00
committed by Christian Richter
parent 61da308f8b
commit c1f9b4a49e
4 changed files with 15 additions and 0 deletions

4
nginx-matrix/Dockerfile Normal file
View File

@@ -0,0 +1,4 @@
FROM nginx:latest
EXPOSE 80
EXPOSE 443
EXPOSE 8448

View File

@@ -0,0 +1,5 @@
FROM arm32v7/nginx:latest
COPY qemu-arm-static /usr/bin
EXPOSE 80
EXPOSE 443
EXPOSE 8448

View 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

View 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