build: experimental ARM support

This commit is contained in:
dec0dOS 2021-08-24 13:04:42 +03:00
parent 4fcf027fcb
commit 7e45db28cf
2 changed files with 3 additions and 4 deletions

View file

@ -54,7 +54,7 @@ jobs:
context: ./
file: ./docker/zero-ui/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
# platforms: linux/amd64,linux/armhf
platforms: linux/amd64,linux/arm64,linux/arm
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.prep_zero-ui.outputs.tags }}
cache-from: type=local,src=/tmp/.buildx-cache
@ -67,7 +67,7 @@ jobs:
context: ./
file: ./docker/zerotier/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
# platforms: linux/amd64,linux/armhf
platforms: linux/amd64,linux/arm64,linux/arm
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/zerotier-controller:latest
cache-from: type=local,src=/tmp/.buildx-cache

View file

@ -1,6 +1,5 @@
FROM alpine:latest
FROM zyclonite/zerotier:latest
RUN apk add --no-cache zerotier-one
RUN echo "{\"settings\": {\"portMappingEnabled\": true,\"softwareUpdate\": \"disable\",\"allowManagementFrom\": [\"0.0.0.0/0\"]}}" > /var/lib/zerotier-one/local.conf
EXPOSE 9993/tcp