Skip to content

Instantly share code, notes, and snippets.

View oherrala's full-sized avatar
👾

Ossi Herrala oherrala

👾
View GitHub Profile

Keybase proof

I hereby claim:

  • I am oherrala on github.
  • I am oherrala (https://keybase.io/oherrala) on keybase.
  • I have a public key ASCPUKZBprmXEuysiGcsFtZlI1bsej9VQ2-Dew11KsIbUwo

To claim this, I am signing this object:

@oherrala
oherrala / gist:a2f8f8d7af1ba30ccd784c7dc62a22b6
Created November 6, 2019 11:32
Dockerfile for Rust cross compilation to aarch64
FROM rust:1.37.0
ENV TARGET="aarch64-unknown-linux-musl"
ARG LIBRESSL=libressl-3.0.2
ARG TOOLCHAIN_AARCH64="aarch64--musl--stable-2018.11-1"
ARG TC_AARCH64_URL="https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/${TOOLCHAIN_AARCH64}.tar.bz2"
ARG DEBIAN_FRONTEND=noninteractive