Skip to content

gdm85/deb2aci

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deb2aci

Deb2aci works like aptitude, but instead of installing on host it downloads the deb packages with all their dependencies and installs them into the ACI image.

It remembers each dependency in annotation to the resulting image manifest.

Building deb2aci

Make sure your GOPATH is correctly configured, then run:

make get-deps
make

Usage

Let's build the example nginx ACI:

# outputs nginx.aci
deb2aci -pkg nginx -manifest examples/nginx.manifest -image nginx.aci

The image manifest within generated ACI will keep track of what packages are part of it:

[
   {
      "name":"debian.org/deb/lsb-base",
      "value":"all/4.1+Debian11ubuntu8"
   },
   {
      "name":"debian.org/deb/libjbig0",
      "value":"amd64/2.1-3.1"
   },
   ...
]

About

Converts a debian package (with dependencies) into an ACI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.0%
  • Makefile 2.0%