2021-04-25 23:29:16 +00:00
|
|
|
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/*
|
|
|
|
|
2020-03-15 23:32:54 +00:00
|
|
|
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
|
2021-04-25 23:29:16 +00:00
|
|
|
|
|
|
|
RUN chown 1000:1000 /app
|
|
|
|
|
|
|
|
COPY docker-entrypoint.sh /startapp.sh
|