Skip to content

Commit b6cb9cc

Browse files
wahhooo
1 parent be5026d commit b6cb9cc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

etc/docker.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ IMAGE_TAG=alpine-fle-image
1515
build_alpine() {
1616
docker buildx create --name builder --bootstrap --use
1717

18+
# set up FLE creds on host. don't download cryptd because we don't need it.
19+
# TODO: once we map cwd onto the host, we don't need to build the image with the credential file present.
20+
RUN_WITH_MONGOCRYPTD=true bash .evergreen/setup-fle.sh
21+
1822
BASE_TAG=$LINUX_ARCH-alpine-base-node-$NODE_VERSION
1923
docker --debug buildx build --load --progress=plain \
2024
--platform linux/$LINUX_ARCH \
@@ -26,9 +30,6 @@ build_alpine() {
2630
}
2731

2832
test_alpine() {
29-
# set up FLE creds on host. don't download cryptd because we don't need it.
30-
RUN_WITH_MONGOCRYPTD=true bash .evergreen/setup-fle.sh
31-
3233
# launch a mongocryptd on the host.
3334
./mongodb/bin/mongocryptd --fork --port 3000 --pidfilepath $(pwd)/pid.file --logpath $(pwd)/logpath
3435
MONGOCRYPTD_URI='mongodb://localhost:3000'

0 commit comments

Comments
 (0)