Skip to content

Commit 37a3194

Browse files
committed
chore: fix path
1 parent 8d521b8 commit 37a3194

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/docker/Dockerfile.glibc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ FROM $NODE_BUILD_IMAGE AS build
44
WORKDIR /mongodb-client-encryption
55
COPY . .
66

7-
RUN node ./.github/scripts/libmongocrypt.mjs
8-
RUN mkdir -p /out && cp -R /mongodb-client-encryption/prebuilds/ /out
7+
RUN node /mongodb-client-encryption/.github/scripts/libmongocrypt.mjs
98

109
FROM scratch
1110

12-
COPY --from=build /out /
11+
COPY --from=build /mongodb-client-encryption/prebuilds/ /

.github/scripts/build_linux.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,18 @@ async function main() {
4444
'--platform',
4545
'linux/s390x,linux/arm64,linux/amd64',
4646
'--output',
47-
'type=local,dest=.,platform-split=false',
47+
'type=local,dest=./prebuilds,platform-split=false',
4848
'-f',
4949
resolveRoot('./.github/docker/Dockerfile.glibc'),
5050
resolveRoot('.')
5151
]);
52+
53+
/**
54+
* Running locally and want a fresh start?
55+
*
56+
* docker buildx prune --force
57+
* docker buildx rm builder
58+
*/
5259
}
5360

5461
await main();

0 commit comments

Comments
 (0)