Browse Source

build: Remove unneeded mounts

Signed-off-by: Chris Crone <[email protected]>
Chris Crone 5 years ago
parent
commit
66c9094e2d
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Dockerfile

+ 1 - 3
Dockerfile

@@ -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