Files
neko/Dockerfile
2026-05-12 16:18:04 +03:00

40 lines
1.0 KiB
Docker

FROM ghcr.io/m1k1o/neko/base:latest
ENV DEBIAN_FRONTEND=noninteractive
# update the system
RUN apt-get update; \
apt-get -y upgrade
# install fuse for appimage support
RUN apt-get -y install fuse
# install openbox
RUN apt-get install -y --no-install-recommends openbox
# install 86box
COPY scripts/fetch_86box.sh /tmp/fetch_86box.sh
RUN chmod +x /tmp/fetch_86box.sh; \
/tmp/fetch_86box.sh; \
rm -f /tmp/fetch_86box.sh
# create configuration directories for 86box
RUN mkdir -p /home/neko/.config/86Box; \
chown -R neko:neko /home/neko/.config/86Box; \
mkdir -p /home/neko/.local/share/86Box; \
chown -R neko:neko /home/neko/.local/share/86Box/; \
mkdir -p /home/neko/vmstorage; \
chown -R neko:neko /home/neko/vmstorage
# clean up
RUN apt-get clean -y; \
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
# copy configuation files
COPY supervisord.conf /etc/neko/supervisord/86box.conf
COPY openbox.xml /etc/neko/openbox.xml
VOLUME /home/neko/.config/86Box
VOLUME /home/neko/.local/share/86Box/
VOLUME /home/neko/vmstorage