aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-30 00:39:55 +0200
committerhachem <im@hachem.wtf>2026-08-30 00:39:55 +0200
commitcd04e59647a9440e6b362b3a46b36f46bf2b2576 (patch)
tree14a5182dfc421ed0339e2986241c6328fa0f6389 /Dockerfile
parentb419298e454ad3d035ac8ab7c60dc58420f8af07 (diff)
setup: prepare docker and build system
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..66740c0
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,17 @@
+FROM --platform=linux/amd64 debian:bookworm-slim
+
+ARG PREMAKE_VERSION=5.0.0-beta7
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ build-essential \
+ nasm \
+ binutils \
+ make \
+ curl \
+ ca-certificates \
+ && rm -rf /var/lib/apt/lists/*
+
+RUN curl -fsSL "https://github.com/premake/premake-core/releases/download/v${PREMAKE_VERSION}/premake-${PREMAKE_VERSION}-linux.tar.gz" \
+ | tar -xz -C /usr/local/bin premake5
+
+WORKDIR /hdass