mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
a597d44680
* move flavored bookworm dockerfile to a new trixie dockerfile. * fix opera openbox selector. * fix remmina dependencies. * remove chromium explicit bookworm source. * Update apps to work with trixie (#624) Co-authored-by: yesBad <me@bad.cash> * remove SYS_ADMIN capability requirement for Chromium-based Docker images and update documentation accordingly. * fix chromium package. * change uBlock Origin to uBlock Origin Lite. * restore waterfox in build matrix for GHCR workflows. --------- Co-authored-by: Bad <87938689+yesBad@users.noreply.github.com> Co-authored-by: yesBad <me@bad.cash>
35 lines
971 B
Docker
35 lines
971 B
Docker
ARG BASE_IMAGE=debian:trixie-slim
|
||
FROM $BASE_IMAGE AS xorg-deps
|
||
|
||
WORKDIR /xorg
|
||
|
||
ENV DEBIAN_FRONTEND=noninteractive
|
||
RUN set -eux; \
|
||
apt-get update; \
|
||
apt-get install -y \
|
||
git gcc pkgconf autoconf automake libtool make xorg-dev xutils-dev \
|
||
&& rm -rf /var/lib/apt/lists/*;
|
||
|
||
COPY . /xorg/
|
||
|
||
# build xf86-video-dummy v0.3.8 with RandR support
|
||
RUN set -eux; \
|
||
cd xf86-video-dummy/v0.3.8; \
|
||
patch -p1 < ../01_v0.3.8_xdummy-randr.patch; \
|
||
autoreconf -v --install; \
|
||
./configure; \
|
||
make -j$(nproc); \
|
||
make install;
|
||
|
||
# build custom input driver
|
||
RUN set -eux; \
|
||
cd xf86-input-neko; \
|
||
./autogen.sh --prefix=/usr; \
|
||
./configure; \
|
||
make -j$(nproc); \
|
||
make install;
|
||
|
||
# artifacts from this stage
|
||
# COPY --from=xorg-deps /usr/local/lib/xorg/modules/drivers/dummy_drv.so /usr/lib/xorg/modules/drivers/dummy_drv.so
|
||
# COPY --from=xorg-deps /usr/local/lib/xorg/modules/input/neko_drv.so /usr/lib/xorg/modules/input/neko_drv.so
|