Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

fix: Docker warning when using frapsoft/openssl on arm64 system #3374

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,12 @@ vc-test-suite: clean
bbs-interop-test:
@scripts/check_bbs_interop.sh

# TODO (#3373): frapsoft/openssl only has an amd64 version. While this does work when using Docker on arm64-based macOS
# currently thanks to the automatic built-in QEMU emulation, it would be better to use a
# native arm64 version.
generate-test-keys: clean
@mkdir -p -p test/bdd/fixtures/keys/tls
@docker run -i --rm \
@docker run -i --platform linux/amd64 --rm \
-v $(abspath .):/opt/go/src/$(PROJECT_ROOT) \
--entrypoint "/opt/go/src/$(PROJECT_ROOT)/scripts/generate_test_keys.sh" \
frapsoft/openssl
Expand Down