We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21d1966 commit fe7f266Copy full SHA for fe7f266
1 file changed
pkgs/terraform.yaml
@@ -0,0 +1,24 @@
1
+extends: [base_package]
2
+
3
+dependencies:
4
+ build: [golang, {{build_with}}]
5
6
+defaults:
7
+ relocatable: false
8
9
+sources:
10
+- key: git:751822b53f9a3d08fed3983e7037008c5034f263
11
+ url: https://github.com/hashicorp/terraform.git
12
13
+build_stages:
14
+- name: make-install
15
+ handler: bash
16
+ bash: |
17
+ export GOROOT=${GOLANG_DIR}/go
18
+ export GOPATH=${ARTIFACT}/go-terraform
19
+ export GOBIN=${ARTIFACT}/bin
20
+ mkdir -p $GOBIN $GOPATH
21
+ mkdir -p ${GOPATH}/src/github.com/hashicorp
22
+ cp -a ${BUILD} ${GOPATH}/src/github.com/hashicorp/terraform
23
+ cd ${GOPATH}/src/github.com/hashicorp/terraform
24
+ go get -v
0 commit comments