mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
05403cc0c6
* upgrade to bookworm. * g_memdup is deprecated: Use g_memdup2 instead. * upgrade nvidia dockerfile. * revert devcontainer.
23 lines
503 B
Docker
23 lines
503 B
Docker
FROM debian:bookworm-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
|