Created
April 7, 2024 12:21
-
-
Save tindzk/f1597f9faffee9cee337d8ee23b91d00 to your computer and use it in GitHub Desktop.
Revisions
-
tindzk created this gist
Apr 7, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ FROM golang:latest AS builder ENV GOARCH=arm64 ENV GOOS=linux ENV CGO_ENABLED=0 WORKDIR /build RUN go install go.universe.tf/netboot/cmd/pixiecore@latest This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ # Building pixiecore for ARM64 Build as follows: ```shell docker build -t pixiecore-builder . docker create --name pixiecore-temp pixiecore-builder docker cp pixiecore-temp:/go/bin/pixiecore $(pwd)/ docker rm pixiecore-temp ``` Afterwards, the binary can be run on the host system using this command: ```shell sudo ./pixiecore quick xyz --dhcp-no-bind ```