-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull latest ccache from ghcr.io/sobomax/ccache.
- Loading branch information
Showing
2 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,9 @@ | |
ARG BASE_IMAGE=debian:sid-slim | ||
ARG LIBG722_IMAGE=sippylabs/libg722:latest-debian_sid-slim | ||
ARG CCACHE_IMAGE=scratch | ||
ARG CCACHE_BIN_IMAGE=ghcr.io/sobomax/ccache:latest-debian-12 | ||
FROM ${LIBG722_IMAGE} AS libg722 | ||
FROM ${CCACHE_BIN_IMAGE} AS ccache_bin | ||
FROM ${BASE_IMAGE} AS build | ||
LABEL maintainer="Maksym Sobolyev <[email protected]>" | ||
|
||
|
@@ -36,14 +38,14 @@ RUN --mount=type=bind,source=docker/install_depends.sh,target=install_depends.sh | |
|
||
COPY --exclude=.git* --link . /rtpproxy/ | ||
|
||
ARG CCACHE_ROOT | ||
|
||
RUN mkdir -p /rtpproxy/ccache | ||
|
||
FROM ${CCACHE_IMAGE} AS ccache | ||
COPY --from=build /rtpproxy/ccache/ /rtpproxy/ccache/ | ||
FROM build | ||
COPY --from=ccache /rtpproxy/ccache /rtpproxy/ccache | ||
WORKDIR /rtpproxy | ||
COPY --from=ccache_bin /usr/bin/ccache /usr/bin/ccache | ||
RUN /rtpproxy/docker/build.sh | ||
RUN ls -l /usr/local/bin/rtpproxy* | ||
RUN ls -l /usr/local/bin/makeann* | ||
|