docker: Increase caching; explicit serialization to force convergence.
docker: Adjust profile overrides Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
1a6cfe72b9
commit
d290bcbca9
12 changed files with 45 additions and 17 deletions
|
|
@ -8,7 +8,10 @@ COPY --link --from=input . .
|
|||
WORKDIR /usr/src
|
||||
COPY --link --from=recipe rocksdb.url .
|
||||
|
||||
RUN <<EOF
|
||||
RUN \
|
||||
--mount=type=cache,dst=/var/lock/uwu/local,sharing=locked \
|
||||
--mount=type=cache,dst=/var/lock/uwu/rocksdb,sharing=locked \
|
||||
<<EOF
|
||||
set -eux
|
||||
submodule="librocksdb-sys/rocksdb"
|
||||
url="$(cat rocksdb.url)"
|
||||
|
|
@ -45,6 +48,7 @@ ENV CC="clang"
|
|||
ENV CXX="clang++"
|
||||
ENV nprocs=${nprocs}
|
||||
RUN \
|
||||
--mount=type=cache,dst=/var/lock/uwu/local,sharing=locked \
|
||||
--mount=type=cache,dst=/var/lock/uwu/rocksdb,sharing=locked \
|
||||
<<EOF
|
||||
set -eux
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue