Containerized tools for building, configuring and automation on cloud
10K+

The preferred method of installing and using BLOX is now a Docker container based version that brings you all that you need to run and use BLOX without disrupting your normal OS package setup.
This should make it easier for you to use the latest version and make it easier to rollback an update if a new version breaks something you relied on
From your command line pull and run the latest BLOX image
$ docker run -it --rm hestio/blox
Create a path to store your identities
$ mkdir -p ${HOME}/.awsh
Run the BLOX container, passing in your AWSH identities and your Kerberos setup and your proxy environment
$ docker run \
-it \
--network=host \
-v ${HOME}/.awsh:/home/blox/.awsh \
-v /etc/krb5.conf:/etc/krb5.conf \
-v /etc/krb5.conf.d/:/etc/krb5.conf.d/ \
-v ${HOME}:/workspace \
-v /tmp:/tmp \
-e "http_proxy=${http_proxy}" \
-e "https_proxy=${https_proxy}" \
-e "no_proxy=${no_proxy}" \
-e "KRB5CCNAME=${KRB5CCNAME}" \
hestio/blox
Create a path to store your identities
$ mkdir -p ${HOME}/.awsh
Run the BLOX container, passing in your AWSH identities and your Kerberos setup and your proxy environment
$ docker run \
-it \
--network=host \
-v ${HOME}/.awsh:/home/blox/.awsh \
-v /etc/krb5.conf:/etc/krb5.conf \
-v /etc/krb5.conf.d/:/etc/krb5.conf.d/ \
-v ${HOME}:/workspace \
-v /tmp:/tmp \
-e "http_proxy=${http_proxy}" \
-e "https_proxy=${https_proxy}" \
-e "no_proxy=${no_proxy}" \
-e "KRB5CCNAME=${KRB5CCNAME}" \
-e "DEFAULT_TERRAFORM_VERSION=0.12.31" \
hestio/blox
Create the wrapper script /usr/local/bin/blox
#!/bin/bash
PUID=$(id -u)
PGID=$(id -g)
[ -d ${HOME}/.awsh ] || mkdir -p ${HOME}/.awsh
docker run \
-it \
--rm \
--network=host \
--user ${PUID}:${PGID} \
-v ${HOME}/.awsh:/home/blox/.awsh \
-v /etc/krb5.conf:/etc/krb5.conf \
-v /etc/krb5.conf.d/:/etc/krb5.conf.d/ \
-v ${HOME}/workspace:/home/blox/workspace \
-v /tmp:/tmp \
-e "HOME=/home/blox" \
-e "PUID=${PUID}" \
-e "PGID=${PGID}" \
-e "http_proxy=${http_proxy}" \
-e "https_proxy=${https_proxy}" \
-e "no_proxy=${no_proxy}" \
-e "KRB5CCNAME=${KRB5CCNAME}" \
hestio/blox
Make the wrapper executable
sudo chmod a+x /usr/local/bin/blox
Start the wrapper script normally
blox
Content type
Image
Digest
sha256:1c3605fa7…
Size
549.1 MB
Last updated
almost 2 years ago
docker pull hestio/blox