Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Conversation

@lawrencegripper
Copy link
Contributor

Hi,

This is a quick set of tweaks to make the devcontainer a bit more friendly and easy to get started with on different platforms (linux, mac etc).

Some of them are quite opinionated so feel free to push back on changes if they don't fit general workflow the team is currently using.

Changes

  • Add alias for Kubectl
  • Add kubectx to allow easy switch between kind cluster and remote clusters
  • Install git prompt and bash completion for kubectl, kubectx etc

Copy link
Contributor

@Azadehkhojandi Azadehkhojandi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking time and sending pr, I really appreciate it. looking forward to meeting you in person at one week and working with you.

Copy link
Contributor Author

@lawrencegripper lawrencegripper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

I've been playing more and added a few more bits.

  • Caching the /go/pkg folder into a docker volume so builds are quicker when after restarting the container as go mod packages are presisted
  • Caching the vscode-server into a docker volume so startup is quicker as extensions aren't re-installed each time.
  • Persist the container's bash history in a docker volume so between sessions the command history is saved (this has been super useful for my dev flow)
  • Add in missing .env file mounting

@lawrencegripper
Copy link
Contributor Author

@Azadehkhojandi Thanks for the review, I've fixed those ones up now. Sorry for the delayed response my daughter has been unwell so I've been away.

Azadehkhojandi
Azadehkhojandi previously approved these changes Dec 3, 2019
@Azadehkhojandi Azadehkhojandi merged commit efb80f8 into Azure:master Dec 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants