Skip to content

Commit

Permalink
actually put these tools on the default path
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Scherger committed May 5, 2016
1 parent eab7ca3 commit 5c2a1d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packer/Dockerfile-light
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ADD https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERS

RUN sed -i '/packer_${PACKER_VERSION}_linux_amd64.zip/!d' packer_${PACKER_VERSION}_SHA256SUMS
RUN sha256sum -cs packer_${PACKER_VERSION}_SHA256SUMS
RUN unzip packer_${PACKER_VERSION}_linux_amd64.zip
RUN unzip packer_${PACKER_VERSION}_linux_amd64.zip -d /bin
RUN rm -f packer_${PACKER_VERSION}_linux_amd64.zip

ENTRYPOINT ["/packer"]
ENTRYPOINT ["/bin/packer"]
4 changes: 2 additions & 2 deletions terraform/Dockerfile-light
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ADD https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TE

RUN sed -i '/terraform_${TERRAFORM_VERSION}_linux_amd64.zip/!d' terraform_${TERRAFORM_VERSION}_SHA256SUMS
RUN sha256sum -cs terraform_${TERRAFORM_VERSION}_SHA256SUMS
RUN unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip
RUN unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /bin
RUN rm -f terraform_${TERRAFORM_VERSION}_linux_amd64.zip

ENTRYPOINT ["/terraform"]
ENTRYPOINT ["/bin/terraform"]

0 comments on commit 5c2a1d3

Please sign in to comment.