File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ctr=$(buildah from alpine) || (echo "Must be root to execute buildah" && exit 1)
9
9
mnt=` buildah mount $ctr ` || (echo " Must be root to execute buildah" && exit 1)
10
10
wget https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_linux_amd64.zip
11
11
unzip terraform_0.11.7_linux_amd64.zip
12
- cp $( pwd ) / terraform $mnt || exit 1
12
+ cp terraform $mnt || exit 1
13
13
buildah unmount $ctr
14
14
buildah config $ctr
15
15
buildah commit $ctr terraform-alpine:v0.11.7
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ctr=$(buildah from scratch) || (echo "Must be root to execute buildah" && exit 1
9
9
mnt=` buildah mount $ctr ` || (echo " Must be root to execute buildah" && exit 1)
10
10
wget https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_linux_amd64.zip
11
11
unzip terraform_0.11.7_linux_amd64.zip
12
- cp $( pwd ) / terraform $mnt || exit 1
12
+ cp terraform $mnt || exit 1
13
13
buildah unmount $ctr
14
14
buildah config --entrypoint=' /terraform fmt -list -check -write=false' $ctr
15
15
buildah commit $ctr terraform-scratch:v0.11.7
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ctr=$(buildah from scratch) || (echo "Must be root to execute buildah" && exit 1
9
9
mnt=` buildah mount $ctr ` || (echo " Must be root to execute buildah" && exit 1)
10
10
wget https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_linux_amd64.zip
11
11
unzip terraform_0.11.7_linux_amd64.zip
12
- cp $( pwd ) / terraform $mnt || exit 1
12
+ cp terraform $mnt || exit 1
13
13
buildah unmount $ctr
14
14
buildah config $ctr
15
15
buildah commit $ctr terraform-scratch:v0.11.7
You can’t perform that action at this time.
0 commit comments