feat(piper): added build
This commit is contained in:
18
ubuntu20-04/piper/Dockerfile
Normal file
18
ubuntu20-04/piper/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user