mirror of
https://github.com/docker/compose.git
synced 2025-07-29 16:44:20 +02:00
Merge pull request #145 from docker/feat-test-cache
Add buildkit cache when running unit tests
This commit is contained in:
commit
8f2c134c79
@ -63,4 +63,5 @@ COPY --from=make-cross /api/bin/* .
|
||||
|
||||
FROM base as test
|
||||
ENV CGO_ENABLED=0
|
||||
RUN make -f builder.Makefile test
|
||||
RUN --mount=id=build,type=cache,target=/root/.cache/go-build \
|
||||
make -f builder.Makefile test
|
||||
|
Loading…
x
Reference in New Issue
Block a user