mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-06 13:01:46 -07:00
build: experimental ARM support
This commit is contained in:
parent
4fcf027fcb
commit
7e45db28cf
2 changed files with 3 additions and 4 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -54,7 +54,7 @@ jobs:
|
||||||
context: ./
|
context: ./
|
||||||
file: ./docker/zero-ui/Dockerfile
|
file: ./docker/zero-ui/Dockerfile
|
||||||
builder: ${{ steps.buildx.outputs.name }}
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
# platforms: linux/amd64,linux/armhf
|
platforms: linux/amd64,linux/arm64,linux/arm
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.prep_zero-ui.outputs.tags }}
|
tags: ${{ steps.prep_zero-ui.outputs.tags }}
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
|
@ -67,7 +67,7 @@ jobs:
|
||||||
context: ./
|
context: ./
|
||||||
file: ./docker/zerotier/Dockerfile
|
file: ./docker/zerotier/Dockerfile
|
||||||
builder: ${{ steps.buildx.outputs.name }}
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
# platforms: linux/amd64,linux/armhf
|
platforms: linux/amd64,linux/arm64,linux/arm
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/zerotier-controller:latest
|
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/zerotier-controller:latest
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
|
|
|
@ -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
|
RUN echo "{\"settings\": {\"portMappingEnabled\": true,\"softwareUpdate\": \"disable\",\"allowManagementFrom\": [\"0.0.0.0/0\"]}}" > /var/lib/zerotier-one/local.conf
|
||||||
|
|
||||||
EXPOSE 9993/tcp
|
EXPOSE 9993/tcp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue