Skip to content

Commit

Permalink
Pin Alpine terraform version
Browse files Browse the repository at this point in the history
We pin the version to guarantee some stability but we don't test
for that version in specs to avoid to maintain the version in
2 places.
  • Loading branch information
saliceti committed Mar 21, 2016
1 parent abbeaa0 commit 475306b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion terraform/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM alpine
FROM alpine:3.3

ENV PATH $PATH:/usr/local/bin
ENV TERRAFORM_VER 0.6.13
ENV TERRAFORM_ZIP terraform_${TERRAFORM_VER}_linux_amd64.zip
Expand Down
4 changes: 2 additions & 2 deletions terraform/terraform_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
set :docker_image, find_image_id('terraform:latest')
}

it "installs the Alpine linux" do
expect(file("/etc/alpine-release")).to be_file
it "installs Alpine" do
expect(command("cat /etc/issue | head -1").stdout).to include("Alpine Linux")
end

it "installs Root Certificates" do
Expand Down

0 comments on commit 475306b

Please sign in to comment.