FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive ENV DISPLAY=:99 RUN dpkg --add-architecture i386 && \ apt-get update && \ apt-get install -y \ wine \ winetricks \ xvfb \ pulseaudio \ unzip \ ffmpeg \ xdotool \ nodejs \ npm \ matchbox-window-manager \ gstreamer1.0-tools \ gstreamer1.0-plugins-base \ gstreamer1.0-plugins-good \ gstreamer1.0-plugins-bad \ gstreamer1.0-plugins-ugly \ gstreamer1.0-libav \ gstreamer1.0-nice \ gir1.2-gst-plugins-bad-1.0 \ python3-gi \ python3-gst-1.0 \ python3-pip \ && rm -rf /var/lib/apt/lists/* RUN useradd -m -s /bin/bash ubuntu COPY nosteam.zip /home/ubuntu/ COPY wine_user_folder.zip /home/ubuntu/ COPY start.sh /home/ubuntu/start.sh COPY streaming-agent/ /home/ubuntu/streaming-agent/ RUN cd /home/ubuntu && unzip nosteam.zip && rm nosteam.zip && unzip wine_user_folder.zip && rm wine_user_folder.zip RUN cd /home/ubuntu/streaming-agent && npm install RUN pip3 install -r /home/ubuntu/streaming-agent/requirements.txt RUN chown -R ubuntu:ubuntu /home/ubuntu/ RUN chmod +x /home/ubuntu/start.sh USER ubuntu WORKDIR /home/ubuntu CMD ["/bin/bash", "/home/ubuntu/start.sh"]