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

Commit b5f6915

Browse files
author
Erik Hollensbe
committed
Box v0.5.0
Signed-off-by: Erik Hollensbe <[email protected]>
1 parent 84a68f3 commit b5f6915

File tree

3 files changed

+48
-1
lines changed

3 files changed

+48
-1
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
### v0.5.0
2+
3+
The biggest change in this release is the soft-removal of OS X support. The
4+
`portable` installation should work for most users; it is simply a script which
5+
calls docker for you.
6+
7+
The requirement was made because of a switch to an exciting new architecture.
8+
This architecture brings in the https://github.com/containers/image and
9+
https://github.com/containers/storage platforms and allows us to incorporate
10+
OCI image support (along with numerous other features!) and will be the future
11+
of box moving forward.
12+
13+
We want to support OS X and some efforts around this are in progress, so
14+
hopefully in a few versions we can bring a real binary back to OS X.
15+
16+
Aside, 0.5.0 contains these changes:
17+
18+
* Numerous fixes and improvements to formatting of output
19+
* `save` function to tag and save images to a file (including OCI images)
20+
* `label` verb to apply labels to images
21+
* Symlinks are no longer hard-scoped to be under the WD. Copies to containers
22+
will now respect target paths more appropriately.
23+
* Compiled with golang 1.7.5 for security and bug fixes.
24+
* Many minor refactors and improvements.
25+
126
### v0.4.2
227

328
* Improve the performance of all copy operations

build.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
DOCKER_VERSION = "1.13.1"
55
GOLANG_VERSION = "1.7.5"
66
LVM2_VERSION = "2.02.103"
7+
GPGME_VERSION = "1.8.0"
78

89
PACKAGES = %w[
910
libgpg-error-dev
@@ -31,7 +32,7 @@
3132
run "apt-get update #{qq}"
3233
run "apt-get install -y #{qq} #{PACKAGES.join(" ")}"
3334

34-
run "mkdir -p /usr/local/gpgme && curl -sSL https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.8.0.tar.bz2 | tar -xjC /usr/local/gpgme --strip-components=1"
35+
run "mkdir -p /usr/local/gpgme && curl -sSL https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-#{GPGME_VERSION}.tar.bz2 | tar -xjC /usr/local/gpgme --strip-components=1"
3536
run "cd /usr/local/gpgme && ./configure --enable-static && PREFIX=/usr make install"
3637

3738
# shamelessly taken from docker

install.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/sh
2+
3+
# linux/mac installer for box
4+
5+
version=0.5.0
6+
if [ "${uname -s}" = "Linux" ]; then
7+
arch="linux"
8+
else
9+
arch="portable"
10+
if ! [ -f `which docker` ]; then
11+
echo "On non-linux platforms, box runs in a docker container. Ensure the docker command is in your PATH and try installing again."
12+
exit 1;
13+
fi
14+
fi
15+
16+
echo "Installing version v${version}"
17+
curl -sSL "https://github.com/erikh/box/releases/download/v${version}/box-${version}.${arch}.gz" | gunzip -c > /tmp/box
18+
chmod ugo+x /tmp/box
19+
sudo mv /tmp/box /usr/bin/box
20+
21+
echo "box v${version} is now installed to /usr/bin/box"

0 commit comments

Comments
 (0)