mirror of https://github.com/docker/compose.git
build: Remove unneeded mounts
Signed-off-by: Chris Crone <christopher.crone@docker.com>
This commit is contained in:
parent
5aa14ef911
commit
66c9094e2d
|
@ -105,10 +105,8 @@ RUN --mount=target=. \
|
|||
FROM base as check-license-headers
|
||||
RUN go get -u github.com/kunalkushwaha/ltag
|
||||
RUN --mount=target=. \
|
||||
--mount=type=cache,target=/root/.cache/go-build \
|
||||
make -f builder.Makefile check-license-headers
|
||||
|
||||
FROM base as check-go-mod
|
||||
COPY . .
|
||||
RUN --mount=type=cache,target=/root/.cache/go-build \
|
||||
make -f builder.Makefile check-go-mod
|
||||
RUN make -f builder.Makefile check-go-mod
|
||||
|
|
Loading…
Reference in New Issue