Skip to content

Instantly share code, notes, and snippets.

@tindzk
Created April 7, 2024 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tindzk/f1597f9faffee9cee337d8ee23b91d00 to your computer and use it in GitHub Desktop.
Save tindzk/f1597f9faffee9cee337d8ee23b91d00 to your computer and use it in GitHub Desktop.
Building pixiecore for ARM64

Building pixiecore for ARM64

Build as follows:

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:

sudo ./pixiecore quick xyz --dhcp-no-bind
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment