feat: add arm32v7 image (#303)

* feat: add arm32v7 image

* chore: remove prettier changes

* chore: cleanup
This commit is contained in:
Anthony Potdevin 2020-05-09 21:48:01 +02:00 committed by GitHub
parent e3081ca74f
commit d3d8c585b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 7 deletions

View File

@ -356,7 +356,7 @@ We are trying to update our dependencies to run on `arm32v7` and `x64` boards. H
| lukechilds/electrumx | latest | [✔️](https://raw.githubusercontent.com/lukechilds/docker-electrumx/master/Dockerfile) | ️❌ | ️❌ | [Github](https://github.com/lukechilds/docker-electrumx) - [DockerHub](https://hub.docker.com/r/lukechilds/electrumx) |
| jvandrew/librepatron | 0.7.39 | [✔️](https://raw.githubusercontent.com/JeffVandrewJr/patron/v0.7.39/Dockerfile) | ️❌ | ️❌ | [Github](https://github.com/JeffVandrewJr/patron) - [DockerHub](https://hub.docker.com/r/jvandrew/librepatron) |
| jvandrew/isso | atron.22 | [✔️](https://raw.githubusercontent.com/JeffVandrewJr/isso/patron.22/Dockerfile) | ️❌ | ️❌ | [Github](https://github.com/JeffVandrewJr/isso) - [DockerHub](https://hub.docker.com/r/jvandrew/isso) |
| apotdevin/thunderhub | v0.5.1 | [✔️](https://raw.githubusercontent.com/apotdevin/thunderhub/v0.5.1/Dockerfile) | ️❌ | ️❌ | [Github](https://github.com/apotdevin/thunderhub) - [DockerHub](https://hub.docker.com/r/apotdevin/thunderhub) |
| apotdevin/thunderhub | v0.5.5 | [✔️](https://raw.githubusercontent.com/apotdevin/thunderhub/v0.5.5/Dockerfile) | [✔️](https://raw.githubusercontent.com/apotdevin/thunderhub/v0.5.5/arm32v7.Dockerfile) | ️❌ | [Github](https://github.com/apotdevin/thunderhub) - [DockerHub](https://hub.docker.com/r/apotdevin/thunderhub) |
| btcpayserver/docker-woocommerce | 3.0.6-3 | [✔️](https://raw.githubusercontent.com/btcpayserver/docker-woocommerce/v3.0.6-3/Dockerfile) | ️❌ | ️❌ | [Github](https://github.com/btcpayserver/docker-woocommerce) - [DockerHub](https://hub.docker.com/r/btcpayserver/docker-woocommerce) |
| mariadb | 10.3 | [✔️](https://raw.githubusercontent.com/docker-library/mariadb/master/10.3/Dockerfile) | ️❌ | ️❌ | [Github](https://github.com/docker-library/mariadb) - [DockerHub](https://hub.docker.com/_/mariadb) |
| traefik | latest | [✔️](https://raw.githubusercontent.com/containous/traefik-library-image/master/scratch/Dockerfile) | ️❌ | ️❌ | [Github](https://github.com/containous/traefik-library-image) - [DockerHub](https://hub.docker.com/_/traefik) |

View File

@ -546,6 +546,7 @@ namespace DockerFileBuildHelper
break;
case "thunderhub":
dockerInfo.DockerFilePath = $"Dockerfile";
dockerInfo.DockerFilePathARM32v7 = "arm32v7.Dockerfile";
dockerInfo.GitLink = "https://github.com/apotdevin/thunderhub";
dockerInfo.GitRef = $"{image.Tag.Split('-')[0]}";
dockerInfo.SupportedByUs = false;

View File

@ -640,14 +640,16 @@ cd - && cd ..
# Build thunderhub
# https://raw.githubusercontent.com/apotdevin/thunderhub/v0.5.1/Dockerfile
# https://raw.githubusercontent.com/apotdevin/thunderhub/v0.5.5/Dockerfile
DOCKERFILE="Dockerfile"
echo "Building apotdevin/thunderhub:v0.5.1"
# https://raw.githubusercontent.com/apotdevin/thunderhub/v0.5.5/arm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="arm32v7.Dockerfile"
echo "Building apotdevin/thunderhub:v0.5.5"
git clone https://github.com/apotdevin/thunderhub thunderhub
cd thunderhub
git checkout v0.5.1
git checkout v0.5.5
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "apotdevin/thunderhub:v0.5.1" .
docker build -f "$DOCKERFILE" -t "apotdevin/thunderhub:v0.5.5" .
cd - && cd ..

View File

@ -2,9 +2,9 @@ version: "3"
services:
btcpayserver:
environment:
BTCPAY_EXTERNALSERVICES: "Thunderhub:thub;"
BTCPAY_EXTERNALSERVICES: "Thunderhub:thub;"
bitcoin_thub:
image: apotdevin/thunderhub:v0.5.1
image: apotdevin/thunderhub:v0.5.5
restart: unless-stopped
environment:
BASE_PATH: "/thub"