Skip to content

Commit 59ba712

Browse files
committed
dev: remove unneeded binaries
Signed-off-by: CrazyMax <[email protected]>
1 parent 0c20fff commit 59ba712

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

dev.Dockerfile

-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# syntax=docker/dockerfile:1
22

33
ARG NODE_VERSION=20
4-
ARG DOCKER_VERSION=20.10.13
5-
ARG BUILDX_VERSION=0.8.0
64

75
FROM node:${NODE_VERSION}-alpine AS base
86
RUN apk add --no-cache cpio findutils git
@@ -62,14 +60,9 @@ RUN --mount=type=bind,target=.,rw \
6260
--mount=type=cache,target=/src/node_modules \
6361
yarn run lint
6462

65-
FROM docker:${DOCKER_VERSION} as docker
66-
FROM docker/buildx-bin:${BUILDX_VERSION} as buildx
67-
6863
FROM deps AS test
6964
RUN --mount=type=bind,target=.,rw \
7065
--mount=type=cache,target=/src/node_modules \
71-
--mount=type=bind,from=docker,source=/usr/local/bin/docker,target=/usr/bin/docker \
72-
--mount=type=bind,from=buildx,source=/buildx,target=/usr/libexec/docker/cli-plugins/docker-buildx \
7366
yarn run test --coverageDirectory=/tmp/coverage
7467

7568
FROM scratch AS test-coverage

0 commit comments

Comments
 (0)