From 9b87bb88506ebe04a86f158dcce427564511db2d Mon Sep 17 00:00:00 2001 From: WerWolv Date: Tue, 31 Aug 2021 23:30:39 +0200 Subject: [PATCH] build: Added Dockerfile --- dist/Dockerfile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 dist/Dockerfile diff --git a/dist/Dockerfile b/dist/Dockerfile new file mode 100644 index 000000000..6e6a9d6e2 --- /dev/null +++ b/dist/Dockerfile @@ -0,0 +1,28 @@ +FROM archlinux:latest + +MAINTAINER WerWolv "hey@werwolv.net" + +# Install dependencies +RUN pacman -Syy --needed --noconfirm +RUN pacman -S --needed --noconfirm \ + git \ + cmake \ + base-devel \ + gcc \ + pkg-config \ + glfw-x11 \ + file \ + mbedtls \ + capstone \ + python3 \ + freetype2 \ + gtk3 + +# Clone ImHex +RUN git clone https://github.com/WerWolv/ImHex --recurse-submodules /root/ImHex + +# Build ImHex +RUN mkdir /root/ImHex/build +WORKDIR /root/ImHex/build +RUN cmake .. && make -j +WORKDIR /root/ImHex \ No newline at end of file