Installation scripts
This commit is contained in:
parent
b2c6e44c70
commit
3643523fd1
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh -eux
|
||||||
|
|
||||||
|
glide install -v
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
export GOARCH=amd64
|
||||||
|
mkdir -p bin
|
||||||
|
|
||||||
|
GOOS=darwin go build -o bin/packer-builder-vsphere.macos
|
||||||
|
GOOS=linux go build -o bin/packer-builder-vsphere.linux
|
||||||
|
GOOS=windows go build -o bin/packer-builder-vsphere.exe
|
|
@ -0,0 +1,6 @@
|
||||||
|
build:
|
||||||
|
build: docker/
|
||||||
|
volumes:
|
||||||
|
- .:/go/src/github.com/LizaTretyakova/packer-builder-vsphere
|
||||||
|
working_dir: /go/src/github.com/LizaTretyakova/packer-builder-vsphere
|
||||||
|
command: ./build.sh
|
|
@ -0,0 +1,9 @@
|
||||||
|
FROM golang:1.7.1
|
||||||
|
ARG GLIDE_VERSION=0.12.3
|
||||||
|
|
||||||
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
|
apt-get -qq update && \
|
||||||
|
apt-get -y install zip
|
||||||
|
|
||||||
|
RUN wget -nv https://github.com/Masterminds/glide/releases/download/v$GLIDE_VERSION/glide-v$GLIDE_VERSION-linux-amd64.tar.gz -O- | \
|
||||||
|
tar xzf - -C /usr/local/bin/ --strip-components=1 linux-amd64/glide
|
|
@ -0,0 +1,101 @@
|
||||||
|
hash: 3573422cb6fc625124a39f2d84a52165fef966ef29dda9ff3842706be1442425
|
||||||
|
updated: 2017-05-14T23:15:42.832534791+03:00
|
||||||
|
imports:
|
||||||
|
- name: github.com/Azure/go-ntlmssp
|
||||||
|
version: 29affced641074a59483ed003b5ef73a8bd3593c
|
||||||
|
- name: github.com/dylanmei/iso8601
|
||||||
|
version: 2075bf119b58e5576c6ed9f867b8f3d17f2e54d4
|
||||||
|
- name: github.com/hashicorp/errwrap
|
||||||
|
version: 7554cd9344cec97297fa6649b055a8c98c2a1e55
|
||||||
|
- name: github.com/hashicorp/go-multierror
|
||||||
|
version: ed905158d87462226a13fe39ddf685ea65f1c11f
|
||||||
|
- name: github.com/hashicorp/go-version
|
||||||
|
version: 03c5bf6be031b6dd45afec16b1cf94fc8938bc77
|
||||||
|
- name: github.com/hashicorp/packer
|
||||||
|
version: 45a48132d0c455f777163538002aeb8784b64e50
|
||||||
|
subpackages:
|
||||||
|
- common
|
||||||
|
- common/ssh
|
||||||
|
- common/uuid
|
||||||
|
- communicator/none
|
||||||
|
- communicator/ssh
|
||||||
|
- communicator/winrm
|
||||||
|
- helper/communicator
|
||||||
|
- helper/config
|
||||||
|
- packer
|
||||||
|
- packer/plugin
|
||||||
|
- packer/rpc
|
||||||
|
- template
|
||||||
|
- template/interpolate
|
||||||
|
- name: github.com/hashicorp/yamux
|
||||||
|
version: d1caa6c97c9fc1cc9e83bbe34d0603f9ff0ce8bd
|
||||||
|
- name: github.com/kr/fs
|
||||||
|
version: 2788f0dbd16903de03cb8186e5c7d97b69ad387b
|
||||||
|
- name: github.com/masterzen/azure-sdk-for-go
|
||||||
|
version: ee4f0065d00cd12b542f18f5bc45799e88163b12
|
||||||
|
subpackages:
|
||||||
|
- core/http
|
||||||
|
- core/tls
|
||||||
|
- name: github.com/masterzen/simplexml
|
||||||
|
version: 4572e39b1ab9fe03ee513ce6fc7e289e98482190
|
||||||
|
subpackages:
|
||||||
|
- dom
|
||||||
|
- name: github.com/masterzen/winrm
|
||||||
|
version: acf371f6aff113fc0104a61cd72db45a7c27d310
|
||||||
|
subpackages:
|
||||||
|
- soap
|
||||||
|
- name: github.com/masterzen/xmlpath
|
||||||
|
version: 13f4951698adc0fa9c1dda3e275d489a24201161
|
||||||
|
- name: github.com/mitchellh/go-fs
|
||||||
|
version: 7bae45d9a684750e82b97ff320c82556614e621b
|
||||||
|
subpackages:
|
||||||
|
- fat
|
||||||
|
- name: github.com/mitchellh/iochan
|
||||||
|
version: 87b45ffd0e9581375c491fef3d32130bb15c5bd7
|
||||||
|
- name: github.com/mitchellh/mapstructure
|
||||||
|
version: cc8532a8e9a55ea36402aa21efdf403a60d34096
|
||||||
|
- name: github.com/mitchellh/multistep
|
||||||
|
version: 391576a156a54cfbb4cf5d5eda40cf6ffa3e3a4d
|
||||||
|
- name: github.com/mitchellh/reflectwalk
|
||||||
|
version: 8d802ff4ae93611b807597f639c19f76074df5c6
|
||||||
|
- name: github.com/nu7hatch/gouuid
|
||||||
|
version: 179d4d0c4d8d407a32af483c2354df1d2c91e6c3
|
||||||
|
- name: github.com/packer-community/winrmcp
|
||||||
|
version: c804d432b8b7fa77896f43cc426134348c3fd19e
|
||||||
|
subpackages:
|
||||||
|
- winrmcp
|
||||||
|
- name: github.com/pkg/errors
|
||||||
|
version: c605e284fe17294bda444b34710735b29d1a9d90
|
||||||
|
- name: github.com/pkg/sftp
|
||||||
|
version: a5f8514e29e90a859e93871b1582e5c81f466f82
|
||||||
|
- name: github.com/ugorji/go
|
||||||
|
version: 708a42d246822952f38190a8d8c4e6b16a0e600c
|
||||||
|
subpackages:
|
||||||
|
- codec
|
||||||
|
- name: github.com/vmware/govmomi
|
||||||
|
version: 35caa01bfa4cbff15d06382021e2028bdf0a77ad
|
||||||
|
subpackages:
|
||||||
|
- find
|
||||||
|
- list
|
||||||
|
- object
|
||||||
|
- property
|
||||||
|
- session
|
||||||
|
- task
|
||||||
|
- vim25
|
||||||
|
- vim25/debug
|
||||||
|
- vim25/methods
|
||||||
|
- vim25/mo
|
||||||
|
- vim25/progress
|
||||||
|
- vim25/soap
|
||||||
|
- vim25/types
|
||||||
|
- vim25/xml
|
||||||
|
- name: golang.org/x/crypto
|
||||||
|
version: ab89591268e0c8b748cbe4047b00197516011af5
|
||||||
|
subpackages:
|
||||||
|
- curve25519
|
||||||
|
- ed25519
|
||||||
|
- ed25519/internal/edwards25519
|
||||||
|
- md4
|
||||||
|
- ssh
|
||||||
|
- ssh/agent
|
||||||
|
testImports: []
|
|
@ -0,0 +1,20 @@
|
||||||
|
package: github.com/LizaTretyakova/packer-builder-vsphere
|
||||||
|
import:
|
||||||
|
- package: github.com/hashicorp/packer
|
||||||
|
subpackages:
|
||||||
|
- common
|
||||||
|
- communicator/ssh
|
||||||
|
- helper/communicator
|
||||||
|
- helper/config
|
||||||
|
- packer
|
||||||
|
- packer/plugin
|
||||||
|
- template/interpolate
|
||||||
|
- package: github.com/mitchellh/multistep
|
||||||
|
- package: github.com/vmware/govmomi
|
||||||
|
subpackages:
|
||||||
|
- find
|
||||||
|
- object
|
||||||
|
- vim25/types
|
||||||
|
- package: golang.org/x/crypto
|
||||||
|
subpackages:
|
||||||
|
- ssh
|
Loading…
Reference in New Issue