|
# Use the official Ubuntu base image |
|
FROM ubuntu:20.04 |
|
|
|
# Set environment |
|
ENV |
|
ENV |
|
|
|
# Install |
|
RUN |
|
sudo |
|
curl |
|
gnupg |
|
apt-transport-https |
|
software-properties-common |
|
wget |
|
git |
|
x11vnc |
|
xvfb |
|
xfce4 |
|
xfce4-terminal |
|
supervisor |
|
openssh-server |
|
socat |
|
novnc |
|
websockify |
|
python-numpy |
|
g++ \ |
|
pulseaudio |
|
libglib2.0-0 \ |
|
libnss3 |
|
libxtst6 |
|
libxss1 |
|
libatk1.0-0 \ |
|
libatk-bridge2.0-0 \ |
|
libdrm2 |
|
libgbm1 |
|
libxdamage1 |
|
libxrandr2 |
|
libasound2 |
|
libgtk-3-0 \ |
|
libx11-xcb1 |
|
libxcomposite1 |
|
libxfixes3 |
|
dbus-x11 |
|
|
|
# Create |
|
RUN /bin/ | |
|
|
|
# Switch |
|
USER |
|
WORKDIR /home/ |
|
|
|
# Clone |
|
RUN ///m1k1o/ |
|
|
|
# Install |
|
WORKDIR /home//neko |
|
RUN .//install_deps.sh |
|
|
|
# Build Neko |
|
RUN .//build.sh |
|
|
|
# Expose port 8080 for the web interface |
|
EXPOSE 8080 |
|
|
|
# Start Neko |
|
CMD [] |