From a55dbe212aca36b208eb6794bc76e004fb9acebe Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 18 Nov 2021 19:14:57 +0400 Subject: [PATCH] Cleanup unneeded commands in Dockerfile --- Telegram/build/docker/centos_env/Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Telegram/build/docker/centos_env/Dockerfile b/Telegram/build/docker/centos_env/Dockerfile index 953b827a64..848406bbd9 100644 --- a/Telegram/build/docker/centos_env/Dockerfile +++ b/Telegram/build/docker/centos_env/Dockerfile @@ -808,17 +808,12 @@ RUN git clone https://chromium.googlesource.com/linux-syscall-support.git src/th WORKDIR src/third_party/lss RUN git checkout e1e7b0ad8e -WORKDIR ${LibrariesPath} - -ENV BreakpadCache ${LibrariesPath}/breakpad-cache - -WORKDIR breakpad +WORKDIR ../../.. RUN ./configure RUN make -j$(nproc) -RUN make DESTDIR="$BreakpadCache" install +RUN make DESTDIR="${LibrariesPath}/breakpad-cache" install WORKDIR .. -RUN rm -rf gyp FROM builder AS webrtc