Skip to content

Instantly share code, notes, and snippets.

View chancejiang's full-sized avatar

Chance Jiang chancejiang

View GitHub Profile
@chancejiang
chancejiang / DGraph.arm64.Dockerfile
Created February 10, 2022 06:59 — forked from challapradyumna/DGraph.arm64.Dockerfile
Build DGraph for ARM processor
ARG GOLANG=1.13.8-buster
FROM golang:${GOLANG} as builder
RUN apt-get update && apt-get install -qy build-essential software-properties-common gcc make sudo
ENV CGO_ENABLED=1 GOOS=linux GOARCH=arm64
RUN go get -u -v google.golang.org/grpc && \
git clone --depth 1 --branch v20.07.2 https://www.github.com/dgraph-io/dgraph/ && \
cd dgraph && \
make dgraph