aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/Dockerfile
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-11-21 00:28:03 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-11-21 00:28:03 +0100
commit4e3898b34a5dbcfabbcf861998d915c261831b60 (patch)
treebf41be059bdb96c38cfacc5761f8b2631c494f23 /container/Dockerfile
parent105089e17aa19b326f6d0fd00b00edd9e3ad5564 (diff)
downloadllvm-kaleidoscope-rs-4e3898b34a5dbcfabbcf861998d915c261831b60.tar.gz
llvm-kaleidoscope-rs-4e3898b34a5dbcfabbcf861998d915c261831b60.zip
add comment to either use podman or docker
Diffstat (limited to 'container/Dockerfile')
-rw-r--r--container/Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/container/Dockerfile b/container/Dockerfile
new file mode 100644
index 0000000..9cb8b44
--- /dev/null
+++ b/container/Dockerfile
@@ -0,0 +1,19 @@
+FROM ubuntu
+
+RUN apt update && \
+ DEBIAN_FRONTEND=noninteractive \
+ apt install \
+ --yes \
+ --no-install-recommends \
+ ca-certificates \
+ build-essential \
+ cargo \
+ llvm-15 \
+ llvm-15-dev \
+ # For polly dependency.
+ # https://gitlab.com/taricorp/llvm-sys.rs/-/issues/13
+ libclang-common-15-dev \
+ zlib1g-dev \
+ && \
+ rm -rf /var/lib/apt/lists/* && \
+ apt-get clean