Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.52 KB

Readme.md

File metadata and controls

38 lines (26 loc) · 1.52 KB

This project aim to enable you to build multiarch with vagrant file

Technology used: Vagrant Virtual Box Docker Buildx qemu-user-static

Inspired by

  1. https://mirailabs.io/blog/multiarch-docker-with-buildx/
  2. https://nexus.eddiesinentropy.net/2020/01/12/Building-Multi-architecture-Docker-Images-With-Buildx/#Software-Requirements-for-Buildx-Non-Native-Architecture-Support
  3. https://printhelloworld.de/posts/working-with-redhat-linux-in-vagrant/

Supported Platform based on qemu-user-static

  • linux/amd64, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6

Check it out on https://github.com/DanielChuDC/multiarch-vagrant-rhel

Prerequisite

  1. REDHAT DEVELOPER ACCOUNT

  2. DOCKER HUB ACCOUNT

  3. git

  4. Vagrant

Getting started with this project

  1. Rename example.env to .env and modify .env
    • Add in the values
  2. Install vagrant plugin for .env by run this command in terminal
    • vagrant plugin install vagrant-env
  3. Provision server by vagrant up