From ca2ff160035115098c826b7f286656fff8daad4f Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sat, 3 Apr 2021 18:42:38 +0200 Subject: [PATCH] Unused --- hack/test.Dockerfile | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 hack/test.Dockerfile diff --git a/hack/test.Dockerfile b/hack/test.Dockerfile deleted file mode 100644 index 06c5d67..0000000 --- a/hack/test.Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -# syntax=docker/dockerfile:1.2 -ARG NODE_VERSION - -FROM node:${NODE_VERSION}-alpine AS base -RUN apk add --no-cache git -WORKDIR /src - -FROM base AS deps -RUN --mount=type=bind,target=.,rw \ - --mount=type=cache,target=/src/node_modules \ - yarn install - -FROM deps AS test -ENV RUNNER_TEMP=/tmp/github_runner -ENV RUNNER_TOOL_CACHE=/tmp/github_tool_cache -RUN --mount=type=bind,target=.,rw \ - --mount=type=cache,target=/src/node_modules \ - yarn run test --coverageDirectory=/tmp/coverage - -FROM scratch AS test-coverage -COPY --from=test /tmp/coverage /