headscale-ui
headscale-ui copied to clipboard
Feature request - Docker ARM support
Hi,
Great work so far,
would it be possible to create a docker container for ARM ?
kind regards
Unlikely, I would have to support two separate automation flows to do so. Not impossible but not high on the priority list.
I also release the site as a zip file, it's very easy to incorporate into your own image if needed. All it needs is a static web server.
For now you can try to build from source. If you clone headscale ui into same folder your compose file is you can change the top and it should build it.
git clone https://github.com/gurucomputing/headscale-ui.git headscale-ui-src
headscale-ui:
build: ./headscale-ui-src/docker/production/
image: headscale-ui
# image: ghcr.io/gurucomputing/headscale-ui:latest
To update just go into headscale-ui-src folder do git pull and restart compose using docker-compose up -d --force-recreate --build
BTW I am not sure you would need a separate flow. To build for multiple architectures just a platforms tag: https://dev.to/cloudx/multi-arch-docker-images-the-easy-way-with-github-actions-4k54
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm/v7
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.<meta_id>.outputs.tags }}
labels: ${{ steps.<meta_id>.outputs.labels }}