Skip to content

Instantly share code, notes, and snippets.

@Syuparn
Last active June 9, 2022 23:52
Show Gist options
  • Save Syuparn/6a81c283cf3d49310f9af6e7d9da3d91 to your computer and use it in GitHub Desktop.
Save Syuparn/6a81c283cf3d49310f9af6e7d9da3d91 to your computer and use it in GitHub Desktop.
govmomi development environment
version: '3'
services:
dev:
build: .
tty: true
volumes:
- ./govmomi:/go/src/github.com/vmware/govmomi
FROM golang:1.18
RUN apt-get update -y && \
apt-get install -y bats jq
WORKDIR /go/src/github.com/vmware/govmomi
@Syuparn
Copy link
Author

Syuparn commented Jun 9, 2022

run binary test

$ make govc-test

@Syuparn
Copy link
Author

Syuparn commented Jun 9, 2022

usage

  • create a directory and put these files in it
  • clone forked govmomi repo
  • docker-compose up -d --build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment