From 802cca1963bc27f8ea4e4923029909e45464d3df Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Thu, 5 Jan 2023 21:23:50 +0100 Subject: bump to llvm14 and add docker file --- docker/Dockerfile | 18 ++++++++++++++++++ docker/Makefile | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 docker/Dockerfile create mode 100644 docker/Makefile (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..5a7b498 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu + +RUN apt update && \ + DEBIAN_FRONTEND=noninteractive \ + apt install \ + --yes \ + --no-install-recommends \ + ca-certificates \ + build-essential \ + cargo \ + llvm-14 \ + llvm-14-dev \ + # https://gitlab.com/taricorp/llvm-sys.rs/-/issues/13 + libclang-common-14-dev \ + zlib1g-dev \ + && \ + rm -rf /var/lib/apt/lists/* && \ + apt-get clean diff --git a/docker/Makefile b/docker/Makefile new file mode 100644 index 0000000..6b3ef8b --- /dev/null +++ b/docker/Makefile @@ -0,0 +1,2 @@ +build: + podman build -t ks-rs . -- cgit v1.2.3