aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-01-05 21:23:50 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-01-05 21:23:50 +0100
commit802cca1963bc27f8ea4e4923029909e45464d3df (patch)
treea473a1e1a03e5907fcf82e24f260b0b7d8ec7d8a /docker/Dockerfile
parent295081130ca1eed6e67dfc035e2df2c9ed49b174 (diff)
downloadllvm-kaleidoscope-rs-802cca1963bc27f8ea4e4923029909e45464d3df.tar.gz
llvm-kaleidoscope-rs-802cca1963bc27f8ea4e4923029909e45464d3df.zip
bump to llvm14 and add docker file
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile18
1 files changed, 18 insertions, 0 deletions
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