Files
neko/Dockerfile
Vladimir Hodakov 9f2e5bdc03
All checks were successful
ci/woodpecker/push/build/1 Pipeline was successful
ci/woodpecker/push/build/2 Pipeline was successful
ci/woodpecker/push/tag Pipeline was successful
Add missing volume
2026-05-12 16:21:51 +03:00

43 lines
1.1 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; \
mkdir -p /home/neko/shared; \
chown -R neko:neko /home/neko/shared
# 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
VOLUME /home/neko/shared