Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi architecture docker image build step add to readme file #732

Open
wants to merge 3 commits 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
10 changes: 10 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,13 @@ Stay tuned, more features are planned!
4. Navigate to `..\BaGet`
5. Start the service with `dotnet run`
6. Open the URL `http://localhost:5000/v3/index.json` in your browser


## Mutli Architecture Docker Image Build

1. Run `git clone https://github.com/loic-sharma/BaGet.git`
2. Navigate to project folder
3. Run `docker run --rm --privileged multiarch/qemu-user-static --reset -p yes`
4. Run `docker buildx create --name multiarch --driver docker-container --use`
5. Run `docker buildx inspect --bootstrap`
6. Run `docker buildx build --progress plain --platform linux/amd64,linux/arm64 -t registry/repo:tag --push . `