You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 14, 2020. It is now read-only.
This is a simple tool to create an ACI image using your operating system packages.
4
+
5
+
It includes an example to build a Java7 base image in [java7](java7).
6
+
7
+
### Steps to create your ACI image:
8
+
9
+
1. Create a directory to hold your work (e.g. [java7](java7))
10
+
1. Create the [packages](java7/packages) file with a list of packages to be installed, one per line.
11
+
1. Create a [manifest](java7/manifest) file which will be your ACI manifest.
12
+
1. (Optional) Create a [postbuild](java7/postbuild) script to do any post-processing after the packages are installed. Here, we set up a convenience symlink.
13
+
1. Run `./packages2aci <dirname>` to build your ACI image (e.g. `./packages2aci java7`)
14
+
15
+
Your ACI image is then in `<dirname>/image.aci`. Run it using:
16
+
17
+
```
18
+
sudo rkt --insecure-skip-verify=true run java7/image.aci
19
+
```
20
+
21
+
### Limitations:
22
+
23
+
* You have to specify each package individually; it doesn't do recursive dependency analysis.
24
+
* This works using your currently installed operating system, so is OS dependent. (This could easily be fixed by doing this inside a rkt image!)
0 commit comments