2021-08-31 23:30:39 +02:00
|
|
|
FROM archlinux:latest
|
|
|
|
|
2023-02-21 11:29:21 +01:00
|
|
|
LABEL maintainer="hey@werwolv.net WerWolv"
|
2021-08-31 23:30:39 +02:00
|
|
|
|
|
|
|
# Install dependencies
|
|
|
|
RUN pacman -Syy --needed --noconfirm
|
|
|
|
RUN pacman -S --needed --noconfirm \
|
|
|
|
git \
|
|
|
|
cmake \
|
|
|
|
base-devel \
|
|
|
|
gcc \
|
|
|
|
pkg-config \
|
|
|
|
glfw-x11 \
|
|
|
|
file \
|
|
|
|
mbedtls \
|
2024-07-21 20:28:37 +02:00
|
|
|
fontconfig \
|
2021-08-31 23:30:39 +02:00
|
|
|
freetype2 \
|
2023-07-15 00:10:01 +02:00
|
|
|
curl \
|
2022-07-08 09:23:53 +02:00
|
|
|
dbus \
|
|
|
|
xdg-desktop-portal
|
2021-08-31 23:30:39 +02:00
|
|
|
|
|
|
|
# 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
|
2022-10-02 17:53:37 +02:00
|
|
|
WORKDIR /root/ImHex
|