mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
26 lines
671 B
Docker
26 lines
671 B
Docker
FROM debian:bullseye-slim
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN set -eux; \
|
|
#
|
|
# bullseye is EOL, its Release files (esp. bullseye-security) are frozen
|
|
# and expired, so skip the valid-until check
|
|
apt-get -o Acquire::Check-Valid-Until=false 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
|