packer-plugin-builder-arm
Packer plugin to build ARM images
File Explorer
Download Latest Version (.zip)- archlinuxarm-armv7-docker.yml
- archlinuxarm-armv8-docker.yml
- aur.yml
- ci.yml
- docker.yml
- lint.yml
- release.yml
- dependabot.yml
- arm.mdx
- metadata.hcl
- PKGBUILD
- alpine.json
- archlinuxarm-docker.pkr.hcl
- archlinuxarm.pkr.hcl
- archlinuxarm-docker.pkr.hcl
- archlinuxarm.pkr.hcl
- archlinuxarm.json.fixme
- angstrom.json
- archlinuxarm.json
- debian.json
- ubuntu.json
- archlinuxarm.json
- archlinuxarm.json
- ubuntu.json
- archlinuxarm.json
- ubuntu.json
- archlinuxarm.json
- raspbian-resize.json
- raspbian.json
- raspios-lite-arm.json
- archlinuxarm.json
- raspios-lite-arm64.json
- archlinuxarm.pkr.hcl
- ubuntu_server_20.04_arm64.json
- ubuntu_server_20.04_arm64.pkr.hcl
- debos-radxa.pkr.hcl
- archlinuxarm.json
- artifact.go
- builder.go
- builder.hcl2spec.go
- step_chroot_provision.go
- step_compress_artifact.go
- step_create_base_image.go
- step_download.go
- step_expand_partition.go
- step_extract_and_copy_image.go
- step_map_image.go
- step_mkfs_image.go
- step_mount_image.go
- step_partition_image.go
- step_populate_filesystem.go
- step_resize_partition_fs.go
- step_resize_qemu_img.go
- step_setup_chroot.go
- step_setup_extra.go
- step_setup_qemu.go
- image_config.go
- image_config.hcl2spec.go
- qemu_config.go
- qemu_config.hcl2spec.go
- remote_file_config.go
- remote_file_config.hcl2spec.go
- push
- Dockerfile
- entrypoint.sh
- resizerootfs
- resizerootfs.service
- bootstrap_resizerootfs.sh
- install_docker_apt.sh
- version.go
- .dockerignore
- .editorconfig
- .gitignore
- .golangci.yml
- .goreleaser.yml
- .pre-commit-config.yaml
- go.mod
- go.sum
- LICENSE
- main.go
- README.md
- Vagrantfile
# Installation Guide
1. Get the code
git clone https://github.com/mkaczanowski/packer-plugin-builder-arm
Downloads the entire project code from GitHub to your computer.
cd packer-plugin-builder-arm
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker pull mkaczanowski/packer-plugin-builder-arm:latest
Type this command into your terminal and run it.
docker run --rm --privileged -v /dev:/dev -v ${PWD}:/build mkaczanowski/packer-plugin-builder-arm:latest build boards/raspberry-pi/raspbian.json
Runs the built image as an actual container.
docker run --rm --privileged -v /dev:/dev -v ${PWD}:/build mkaczanowski/packer-plugin-builder-arm:latest build boards/raspberry-pi/raspbian.json -extra-system-packages=bmap-tools,zstd
Runs the built image as an actual container.
docker build -t packer-plugin-builder-arm -f docker/Dockerfile .
Builds a runnable image based on the Dockerfile.
docker run --rm --privileged -v /dev:/dev -v ${PWD}:/build packer-plugin-builder-arm build boards/raspberry-pi/raspbian.json
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
Pulled directly from this repo's README.
3. Go
MediumPrerequisites
go build -o packer-plugin-builder-arm
Compiles the Go program into an executable.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
