split base build to multiple dockerfiles.

This commit is contained in:
Miroslav Šedivý
2024-09-08 17:21:09 +02:00
parent bbefb393f8
commit 38e8ac3e21
79 changed files with 455 additions and 968 deletions
@@ -0,0 +1,22 @@
FROM debian:bullseye-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN set -eux; \
apt-get update; \
apt-get install -y \
gcc pkgconf autoconf automake libtool make xorg-dev xutils-dev \
&& rm -rf /var/lib/apt/lists/*;
WORKDIR /app
COPY ./ /app/
RUN set -eux; \
./autogen.sh --prefix=/usr; \
./configure; \
make -j$(nproc); \
make install;
# docker build -t xf86-input-neko .
# docker run -v $PWD/build:/app/build --rm xf86-input-neko make install DESTDIR=/app/build