Commit e702b5a0 authored by Joseph Benden's avatar Joseph Benden Committed by Richard Mortier
Browse files

feat: add support for ccache-enabled abuild



This introduces support for ccache, when enabled in `abuild`.
Signed-off-by: Joseph Benden's avatarJoseph Benden <joe@benden.us>
parent 8465ec8f
......@@ -12,6 +12,7 @@ RUN rm /etc/apk/repositories && \
RUN apk add --update-cache \
alpine-conf \
alpine-sdk \
ccache \
&& apk upgrade -a \
&& setup-apkcache /var/cache/apk
......
......@@ -70,6 +70,7 @@ fi
## setup volumes; use named volumes as cache if desired
ABUILD_VOLUMES="-v ${HOME}/.abuild:/home/builder/.abuild \
-v ${HOME}/.ccache:/home/builder/.ccache \
-v ${PWD%/aports/*}/aports:/home/builder/aports \
-v ${ABUILD_PACKAGES}:/home/builder/packages"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment