16 lines
616 B
Docker
16 lines
616 B
Docker
FROM debian:unstable-slim
|
|
RUN apt update && \
|
|
apt-get -y install wget unzip bash make gcc glibc-source gtk+2.0 gtk+2.0-dev zlib1g zlib1g-dev libgnutls28-dev xvfb x11vnc && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
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
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
RUN chmod +x /docker-entrypoint.sh && useradd -m -u 1010 nya
|
|
USER nya
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|