feat(piper): added build

This commit is contained in:
oxypomme
2024-06-14 13:31:47 +02:00
parent eca441355d
commit 5c2f7a4c5f
3 changed files with 104 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
FROM ubuntu:20.04
WORKDIR /build/piper
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y build-essential git python3-dev python3-pip python-gi-dev gettext libcairo2-dev gtk-update-icon-cache desktop-file-utils
RUN pip3 install meson ninja lxml evdev pycairo
RUN git clone --depth=1 https://github.com/libratbag/piper.git /build/piper
RUN meson setup builddir --prefix=/usr
RUN ninja -C builddir
RUN ninja -C builddir install
CMD ["sleep", "infinity"]