Skip to content

🐳 Utility to build multi-arch docker/OCI images

Notifications You must be signed in to change notification settings

aaqaishtyaq/rouster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rouster

go tool to build aaqaishtyaq/dockerfiles

What

For building docker images with specified path and image tag. It reads platform file in the root of the Dockerfile context to figure out the architectures for multi-arch docker image builds. It utilises docker buildx to do so. Eventually generating the equivalent docker buildx build command.

For example, If I run the following command in the root of my dockerfiles repo, It translates to

- rouster buildx -i base-ubuntu -t 0.0.1 dockerfiles
+ docker buildx build --load --platform=linux/amd64,linux/arm64 -t ghcr.io/aaqaishtyaq/base-debian:0.0.1 dockerfiles/base/debian

Installation

Rouster requires Go 1.16+

go install github.com/aaqaishtyaq/rouster@latest

Usage

% rouster buildx
Error: requires at least 1 arg(s), only received 0
Usage:
  rouster buildx [flags]

Flags:
  -d, --deadline int        Image build timeout. (default 20)
  -h, --help                help for buildx
  -i, --image stringArray   Image to be built
  -p, --push                Push the image to container registry.
  -t, --tag string          Tag to be used for tagging the image. (default "latest")

requires at least 1 arg(s), only received 0

About

🐳 Utility to build multi-arch docker/OCI images

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages