gnutella-gtk-docker/docker/Dockerfile

14 lines
603 B
Docker
Raw Normal View History

2020-03-15 23:32:54 +00:00
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
ADD docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh && useradd -m -u 1010 nya
USER nya
ENTRYPOINT ["/docker-entrypoint.sh"]