FROM jlesage/baseimage-gui:debian-10 ENV APP_NAME="Gnutella" RUN \ APP_ICON_URL=https://upload.wikimedia.org/wikipedia/commons/thumb/c/cc/Gtk-gnutella.svg/600px-Gtk-gnutella.svg.png && \ install_app_icon.sh "$APP_ICON_URL" RUN \ apt update && \ apt-get -y --no-install-recommends install \ socat \ wget \ unzip \ bash \ make \ gcc \ xterm \ glibc-source \ gettext \ gtk+2.0 gtk+2.0-dev \ zlib1g zlib1g-dev \ libgnutls28-dev && \ rm -rf /var/cache/apt/archives/* RUN mkdir /app; \ wget -O /app/src.zip https://codeload.github.com/gtk-gnutella/gtk-gnutella/zip/master; \ cd /app && \ unzip src.zip && \ cd gtk-gnutella-master && \ ./build.sh --cc=gcc --gtk2 --disable-dbus && \ make install RUN chown 1000:1000 /app COPY docker-entrypoint.sh /startapp.sh