From bbadbeb2be82e434465a4dba2a032b45f2621f59 Mon Sep 17 00:00:00 2001 From: Sam Jewell <2903904+samjewell@users.noreply.github.com> Date: Fri, 29 Sep 2023 09:27:00 +0100 Subject: [PATCH] Build: removing .linguirc to the copied files in the Dockerfile (#75703) Local Dockerfile fails with: ``` => ERROR [js-builder 8/12] COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./ 0.0s => [go-builder 3/20] WORKDIR /tmp/grafana 0.0s => [go-builder 4/20] COPY go.* ./ 0.3s => [go-builder 5/20] COPY .bingo .bingo 0.0s => CANCELED [go-builder 6/20] RUN go mod download 2.2s ------ > [js-builder 8/12] COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./: ------ Dockerfile:24 -------------------- 22 | RUN yarn install --immutable 23 | 24 | >>> COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./ 25 | COPY public public 26 | COPY scripts scripts -------------------- ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref cc72e2cc-395a-46c9-b6ce-98fa942823cd::dy0j4lc6k08aluey90uugfvr4: "/.linguirc": not found make: *** [build-docker-full] Error 1 ``` That file has not existed on `main` since PR #75658 got merged. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d2a8abea778..982fa08efab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ COPY plugins-bundled plugins-bundled RUN yarn install --immutable -COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./ +COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json ./ COPY public public COPY scripts scripts COPY emails emails