Giter VIP home page Giter VIP logo

dev-container's Introduction

What is this?

  • A container with the latest version of common tools for development

What is included

  • docker
  • docker-compose
  • docker-lock
  • az cli
  • kubectl
  • helm
  • fluxctl
  • kubeseal
  • terraform
  • anaconda 3 distribution of python
  • go
  • vim with a sensible configuration

Usage

  • The container is a few gigabytes. It prioritizes readability and breadth of tools over size.
  • To use a recently built version:
docker pull mperel/dev-container
  • To build from scratch:
docker build -f .devcontainer/Dockerfile -t mperel/dev-container .devcontainer
  • To run:
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v ${PWD}:/workspaces/app mperel/dev-container

Editor

  • vim
    • To open a file tree: CTRL+g
    • To goto definition: ,+g
    • To goto docs: ,+d
    • To cycle forward through autocomplete suggestions: TAB
    • To cycle backward through autocomplete suggestions: SHIFT+TAB
  • vscode
    • Install the Remote-Container Extension
    • Copy the .devcontainer directory into your project
    • In the command palette, type: Remote-Containers: Reopen in Container
    • In the command palette, type: Go: Install/Update Tools and select all
    • When all tools are finished installing, in the command palette type: Developer: Reload Window
    • The docker daemon is mapped from the host into the dev container, so you can use docker and docker-compose commands from within the container as if they were run on the host

dev-container's People

Contributors

michaelperel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.