-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
21 lines (21 loc) · 1.09 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM alpine/git
ARG PACKER_VERSION=1.7.1
ARG VAULT_VERSION=1.7.2
ARG TERRAFORM_VERSION=0.15.4
ARG CONSUL_TEMPLATE_VERSION=0.25.2
RUN wget https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip && \
unzip packer_${PACKER_VERSION}_linux_amd64.zip && \
chmod +x packer && \
mv packer /usr/bin/packer
RUN wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip && \
unzip vault_${VAULT_VERSION}_linux_amd64.zip && \
chmod +x vault && \
mv vault /usr/bin/vault
RUN wget https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
chmod +x terraform && \
mv terraform /usr/bin/terraform
RUN wget https://releases.hashicorp.com/consul-template/${CONSUL_TEMPLATE_VERSION}/consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.zip && \
unzip consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.zip && \
chmod +x consul-template && \
mv consul-template /usr/bin/consul-template