This repository has been archived on 2026-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
Files
2024-06-14 13:31:42 +02:00

19 lines
573 B
Docker

FROM ubuntu:20.04
WORKDIR /build/libratbag
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y build-essential git systemd check python3-dev python3-pip libudev-dev libevdev-dev libsystemd-dev libpcre3-dev swig libjson-glib-dev libunistring-dev
RUN pip3 install meson ninja evdev
RUN git clone --depth=1 https://github.com/libratbag/libratbag.git /build/libratbag
RUN meson setup builddir --prefix=/usr \
&& meson configure builddir -Ddocumentation=false
RUN ninja -C builddir
RUN ninja -C builddir install
CMD ["sleep", "infinity"]