Skip to content

Instantly share code, notes, and snippets.

@mlund
mlund / Dockerfile-llvm
Last active January 1, 2023 02:46
How to build rust-mos for aarch64 linux based on Docker files from rust-mos
FROM ubuntu:22.04 as llvm_mos_base
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
git curl ca-certificates ninja-build cmake build-essential \
libstdc++-10-dev libxml2-dev libssl-dev pkg-config python3-pip \
swig python3-dev libedit-dev libncurses5-dev liblzma-dev
FROM llvm_mos_base as build
WORKDIR /tmp