aboutsummaryrefslogtreecommitdiffhomepage
path: root/container
diff options
context:
space:
mode:
Diffstat (limited to 'container')
-rw-r--r--container/Dockerfile19
-rw-r--r--container/Makefile5
2 files changed, 24 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
diff --git a/container/Makefile b/container/Makefile
new file mode 100644
index 0000000..26f7493
--- /dev/null
+++ b/container/Makefile
@@ -0,0 +1,5 @@
+podman: build-podman
+docker: build-docker
+
+build-%:
+ $* build -t ks-rs .