Sign inSign up

unixdaddy/vault

By unixdaddy

•Updated almost 11 years ago

Hashicorp Vault

Image
0

363

unixdaddy/vault repository overview

This is built from centos:latest (7)

On running the container it will by default download the present latest version (vault_0.3.1_linux_amd64.zip) from https://dl.bintray.com/mitchellh/vault/⁠ and place you in a shell.

If the version changes then start your container with the --env VAULT_VERSION=X.X.X this will download that version of vault (as long as filename format hasn't changed) and place you in a shell.

if you want to know if your version of vault is the latest simple run "vault version" when in the container and it will tell you if the version is out of date.

You can also manually download the vault software once in the container by running the download_vault.sh script (after setting the environment variable VAULT_VERSION as required based on the output of vault version).

⁠DOCKERFILE

FROM centos:latest MAINTAINER Unixdaddy <unixdaddyATgmail.com> ADD vault /vault_download/ RUN yum repolist && yum install wget unzip -y ENV VAULT_VERSION 0.3.0 WORKDIR /vault_download CMD /vault_download/download_vault.sh && bash

⁠download_vault.sh

VAR=$VAULT_VERSION cd /usr/local/bin rm vault_*.zip wget https;//dl.bintray.com/mitchellh/vault/vault_${VAR}_linux_amd64.zip unzip -o vault_*.zip

Tag summary

Content type

Image

Digest

sha256:d9d713cff…

Size

85.7 MB

Last updated

almost 11 years ago

docker pull unixdaddy/vault