2015-04-20 06:21:21 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2015-12-17 12:55:45 -05:00
|
|
|
# Retrieve OS/ARCH of docker daemon, eg. linux/amd64
|
|
|
|
export DOCKER_ENGINE_OSARCH=$(docker version | grep 'OS/Arch' | tail -1 | cut -d':' -f2 | tr -d '[[:space:]]')
|
|
|
|
# Retrieve OS of docker daemon, eg. linux
|
|
|
|
export DOCKER_ENGINE_GOOS=$(echo $DOCKER_ENGINE_OSARCH | cut -d'/' -f1)
|
|
|
|
# Retrieve ARCH of docker daemon, eg. amd64
|
|
|
|
export DOCKER_ENGINE_GOARCH=$(echo $DOCKER_ENGINE_OSARCH | cut -d'/' -f2)
|
|
|
|
|
2015-04-20 06:21:21 -04:00
|
|
|
bundle .ensure-emptyfs
|
|
|
|
bundle .ensure-frozen-images
|
|
|
|
bundle .ensure-httpserver
|
2015-12-21 17:42:58 -05:00
|
|
|
bundle .ensure-userns-test
|