🖊️
Notes
  • Notes
  • aws
    • CloudWatch
    • EKS
    • IAM
    • Key Management Service (KMS)
    • security
      • Attacks against AWS infrastructure
    • vpc
      • AWS Transit Gateway
  • azure
    • Azure AD
    • Azure CDN
    • DNS in Azure
    • Hub-spoke network topology
    • Identity and access management
    • Azure Landing zones
    • Storage
  • certifications
    • aws-sa-pro
    • Certified Kubernetes Administrator
  • containers
    • Examples
    • Linux Container Primitives
  • databases
    • Relational databases
  • gcp
    • IAM
  • git
    • Git
  • golang
    • Building Go projects
    • Concurrency
    • Project structure
  • infosec
    • SSH
    • SSL
  • Kubernetes
    • Admission Controllers
    • Autoscaling
    • Debugging
    • Multi-tenancy
    • Network Policies
    • Pod Priority
    • Pod Security Policies
    • Secrets
    • StatefulSet
    • additional-services
      • Debugging ArgoCD RBAC
      • open-policy-agent
  • misc
    • FFmpeg
    • PDFs
  • programming
    • Learning resources
    • concepts
      • Serialization
  • rabbitmq
    • Clustering and HA
    • Shovel plugin
  • shells
    • Bash
  • terraform
    • Moving resources between remote states
  • tools
    • FFmpeg
    • yt-dlp
  • vim
    • Fzf (plugin)
    • Registers
    • Spell Check
  • virtualization
    • File formats
  • linux
    • arch
      • Arch Linux installation
Powered by GitBook
On this page
  1. golang

Building Go projects

Dependencies managed with dep

In projects where dependencies are managed with dep, the local project needs to be located in $GOPATH.

Because of this, using container as a build environment is the easiest solution in most cases.

For example to build the kube-psp-advisor project:

docker run -it --rm -v "$PWD":/go/src/github.com/sysdiglabs/kube-psp-advisor golang:1.11 /bin/bash
PreviousgolangNextConcurrency

Last updated 5 years ago