mirror of
https://github.com/docker/compose.git
synced 2025-07-26 15:14:04 +02:00
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
|
FROM base as check-license-headers
|
||||||
RUN go get -u github.com/kunalkushwaha/ltag
|
RUN go get -u github.com/kunalkushwaha/ltag
|
||||||
RUN --mount=target=. \
|
RUN --mount=target=. \
|
||||||
--mount=type=cache,target=/root/.cache/go-build \
|
|
||||||
make -f builder.Makefile check-license-headers
|
make -f builder.Makefile check-license-headers
|
||||||
|
|
||||||
FROM base as check-go-mod
|
FROM base as check-go-mod
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN --mount=type=cache,target=/root/.cache/go-build \
|
RUN make -f builder.Makefile check-go-mod
|
||||||
make -f builder.Makefile check-go-mod
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user