beautifying

This commit is contained in:
a3x 2020-03-19 17:10:52 +00:00
parent 75f4b904ae
commit b7cb5f77dd

View file

@ -1,5 +1,7 @@
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 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 && \
@ -7,7 +9,7 @@ RUN mkdir /app; \
cd gtk-gnutella-master && \
./build.sh --cc=gcc --gtk2 --disable-dbus && \
make install
ADD docker-entrypoint.sh /docker-entrypoint.sh
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh && useradd -m -u 1010 nya
USER nya
ENTRYPOINT ["/docker-entrypoint.sh"]