Skip to content

Commit fe7f266

Browse files
committed
terraform: Initial add of package
Signed-off-by: Jimmy Tang <jcftang@gmail.com>
1 parent 21d1966 commit fe7f266

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

pkgs/terraform.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)