From 14107d088ae8fb65e0d4cff1491c2153c98eda5b Mon Sep 17 00:00:00 2001 From: Maksym Sobolyev Date: Wed, 24 Jul 2024 03:09:14 -0700 Subject: [PATCH] Add debug. --- .github/workflows/rtpproxy_ci.yml | 14 +++++++------- docker/Dockerfile.push | 2 +- docker/build.sh | 3 +++ 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/rtpproxy_ci.yml b/.github/workflows/rtpproxy_ci.yml index b1449254c..d8b3767de 100644 --- a/.github/workflows/rtpproxy_ci.yml +++ b/.github/workflows/rtpproxy_ci.yml @@ -475,13 +475,13 @@ jobs: cache-from: ${{ env.CACHE_SPEC }} cache-to: ${{ env.CACHE_SPEC }},mode=max - - name: Save Docker image - uses: docker/build-push-action@v6 - with: - file: ./docker/Dockerfile.export_ccache - build-args: BASE_IMAGE=${{ env.LOCAL_REPO }}:latest - platforms: ${{ env.PLATFORMS }} - outputs: type=tar,dest=/tmp/ccache_export.tar +# - name: Save Docker image +# uses: docker/build-push-action@v6 +# with: +# file: ./docker/Dockerfile.export_ccache +# build-args: BASE_IMAGE=${{ env.LOCAL_REPO }}:latest +# platforms: ${{ env.PLATFORMS }} +# outputs: type=tar,dest=/tmp/ccache_export.tar - name: Push Docker image uses: docker/build-push-action@v6 diff --git a/docker/Dockerfile.push b/docker/Dockerfile.push index 8d04377ca..e7b74cf4e 100644 --- a/docker/Dockerfile.push +++ b/docker/Dockerfile.push @@ -18,6 +18,6 @@ WORKDIR / # rm -rf /mnt/rtpproxy /mnt/var/db/cache/* /mnt/mnt && \ # cp -Rp /mnt/ / COPY --from=build --exclude=/rtpproxy/ --exclude=/var/db/cache/ \ - --exclude=/etc/alternatives/ / / + --link / / ENTRYPOINT ["/usr/local/bin/rtpproxy", "-fF"] diff --git a/docker/build.sh b/docker/build.sh index 4e1ca79b8..6f3e68093 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -47,3 +47,6 @@ ccache --show-stats apt-get -y remove ${BUILD_DEPS} apt-get -y autoremove + +find / -xdev -xtype l +find / -xdev -xtype l -delete