beautifying
This commit is contained in:
parent
75f4b904ae
commit
b7cb5f77dd
|
@ -1,5 +1,7 @@
|
||||||
FROM debian:unstable-slim
|
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; \
|
RUN mkdir /app; \
|
||||||
wget -O /app/src.zip https://codeload.github.com/gtk-gnutella/gtk-gnutella/zip/master; \
|
wget -O /app/src.zip https://codeload.github.com/gtk-gnutella/gtk-gnutella/zip/master; \
|
||||||
cd /app && \
|
cd /app && \
|
||||||
|
@ -7,7 +9,7 @@ RUN mkdir /app; \
|
||||||
cd gtk-gnutella-master && \
|
cd gtk-gnutella-master && \
|
||||||
./build.sh --cc=gcc --gtk2 --disable-dbus && \
|
./build.sh --cc=gcc --gtk2 --disable-dbus && \
|
||||||
make install
|
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
|
RUN chmod +x /docker-entrypoint.sh && useradd -m -u 1010 nya
|
||||||
USER nya
|
USER nya
|
||||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||||
|
|
Loading…
Reference in a new issue