Skip to content

Instantly share code, notes, and snippets.

@lorentzca
Last active February 9, 2016 00:53
Show Gist options
  • Save lorentzca/bf3b401ad6237129d04b to your computer and use it in GitHub Desktop.
Save lorentzca/bf3b401ad6237129d04b to your computer and use it in GitHub Desktop.
vault on docker
FROM centos:7
RUN \
yum install -y wget unzip && \
cd /usr/local/bin && \
wget https://releases.hashicorp.com/vault/0.4.1/vault_0.4.1_linux_amd64.zip && \
unzip vault_0.4.1_linux_amd64.zip && \
rm vault_0.4.1_linux_amd64.zip
# pull base image
FROM lorentzca/coreos
# install vault
RUN \
cd /usr/local/bin && \
wget https://releases.hashicorp.com/vault/0.3.1/vault_0.3.1_linux_amd64.zip && \
unzip vault_0.3.1_linux_amd64.zip && \
rm vault_0.3.1_linux_amd64.zip
@lorentzca
Copy link
Author

$ docker build .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment