From 157417b3cff2cda3b3719b72f3e4916b94cdae40 Mon Sep 17 00:00:00 2001 From: Maksym Sobolyev Date: Wed, 24 Jul 2024 23:34:45 -0700 Subject: [PATCH] + abd27d5b9a16347 --- docker/Dockerfile | 2 +- docker/Dockerfile.push | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 7a2dc136e..7e24389ce 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -30,7 +30,7 @@ ARG APT_INSTALL="apt-get install --no-install-recommends -y" COPY docker/install_depends.sh /tmp COPY docker/clang_ver.sub /tmp/docker/clang_ver.sub ARG TARGETPLATFORM -RUN ./install_depends.sh +RUN --mount=type=cache,target=/var/cache ./install_depends.sh COPY --exclude=.git* --link . /rtpproxy/ diff --git a/docker/Dockerfile.push b/docker/Dockerfile.push index 3d382594c..5ec2ef5f2 100644 --- a/docker/Dockerfile.push +++ b/docker/Dockerfile.push @@ -3,7 +3,7 @@ ARG BASE_IMAGE ARG BUILD_IMAGE FROM $BUILD_IMAGE AS build -RUN rm -rf /rtpproxy && rm -rf /var/cache/* +RUN rm -r /rtpproxy FROM $BASE_IMAGE LABEL maintainer="Maksym Sobolyev "