mirror of
				https://github.com/dec0dOS/zero-ui.git
				synced 2025-10-31 00:16:28 +08: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: ./ | ||||
|           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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue