FROM debian:stable

RUN apt-get update && apt-get install -y \
    bsdgames \
    moon-buggy \
    nethack-console \
    pacman4console \
    bastet \
    ninvaders \
    nsnake \
    greed \
    nudoku \
    git \
    curl \
    wget \
    && rm -rf /var/lib/apt/lists/*

RUN useradd -m arcade
WORKDIR /home/arcade

USER arcade

# Starshell von GitHub klonen
RUN git clone https://github.com/puxplaying/starshell.git /home/arcade/starshell

# Starshell ausführbar machen
RUN chmod +x /home/arcade/starshell/starshell/starshell

CMD ["/home/arcade/menu.sh"]