gnutella-gtk-docker/docker/Dockerfile

16 lines
616 B
Docker
Raw Normal View History

2020-03-15 23:32:54 +00:00
FROM debian:unstable-slim
2020-03-19 17:10:52 +00:00
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/*
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
2020-03-19 17:10:52 +00:00
COPY docker-entrypoint.sh /docker-entrypoint.sh
2020-03-15 23:32:54 +00:00
RUN chmod +x /docker-entrypoint.sh && useradd -m -u 1010 nya
USER nya
ENTRYPOINT ["/docker-entrypoint.sh"]