From b410e2e56d841b8275cab5222f931b162a82b5e5 Mon Sep 17 00:00:00 2001 From: Paul Esch-Laurent
Date: Sat, 13 Jul 2024 21:38:04 -0500 Subject: [PATCH] docs(readme): specify Docker platform --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b61fef9..46c9024 100644 --- a/README.md +++ b/README.md @@ -18,19 +18,19 @@ Check out the [docs] or [bic-example] repository. Build (local develop): ```bash -docker build . -t bic:local +docker build --platform linux/amd64 . -t bic:local ``` Run (local develop) with [bic-example]: ```bash -docker run --rm -it -v $PWD/../bic-example:/src -v $PWD:/app --entrypoint bash bic:local +docker run --platform linux/amd64 --rm -it -v $PWD/../bic-example:/src -v $PWD:/app --entrypoint bash bic:local ``` Run (just build) with [bic-example]: ```bash -docker run --rm -v $PWD/../bic-example:/src bic:local +docker run --platform linux/amd64 --rm -v $PWD/../bic-example:/src bic:local ``` Run using [nix flakes]