Skip to content
This repository was archived by the owner on Sep 28, 2020. It is now read-only.

Box v0.5.0: OCI export support!

Choose a tag to compare

@erikh erikh released this 06 Mar 07:26
· 163 commits to master since this release

Box Version 0.5.0

Box is a small utility for the building of docker images. Through use of mruby,
we provide additional flexibility over the vanilla docker build command by
adding control structures and basic predicates. We also add new verbs that
allow new actions, such as flattening and tagging images.

Some features that differentiate it from docker build:

  • Unique general features:
    • mruby syntax
    • Filtering of keywords to secure builds
    • Shell mode
  • In the build plan itself:
    • Layer editing and composition
    • Tagging
    • Flattening
    • Debug mode (drop to a shell in the middle of a plan run and inspect your container)
    • Ruby block methods for user (with_user) and workdir (inside) allow
      you to scope copy and run operations for a more obvious build plan.

This is the 0.5.0 release of Box, the mruby-inspired advanced docker
builder. If you're new to Box, you can read the documentation here.

The changes included in this version of Box are:

The biggest change in this release is the soft-removal of OS X support. The
portable installation should work for most users; it is simply a script which
calls docker for you.

The requirement was made because of a switch to an exciting new architecture.
This architecture brings in the https://github.com/containers/image and
https://github.com/containers/storage platforms and allows us to incorporate
OCI image support (along with numerous other features!) and will be the future
of box moving forward.

We want to support OS X and some efforts around this are in progress, so
hopefully in a few versions we can bring a real binary back to OS X.

Aside, 0.5.0 contains these changes:

  • Numerous fixes and improvements to formatting of output
  • save function to tag and save images to a file (including OCI images)
  • label verb to apply labels to images
  • Symlinks are no longer hard-scoped to be under the WD. Copies to containers
    will now respect target paths more appropriately.
  • Compiled with golang 1.7.5 for security and bug fixes.
  • Many minor refactors and improvements.

Sums:


db9b3d2ca2784665ba3324f5903b3ebceacb6399e11df03918404c5f56d1a152  box-0.5.0.portable.gz
e619394ba4f852decd729fd1188b2ccfc9f8dcec48a5941af42bcf47473f7035  box-0.5.0.linux.gz
e7daa464776ff03bcc2d67b3d28c18ef23a48c6ff7f4d0baaa88680d521ab163  box-0.5.0-1.x86_64.rpm
7b10bf997301b975a952c43a9085eed458752917e88ba3250a9ea77e8dda0c1d  box_0.5.0_amd64.deb