aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile18
-rw-r--r--docker/Makefile2
2 files changed, 20 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
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 .