0%

Book Description

Are you a Go programmer looking to introduce Docker containers into your workflow? In this lesson, you’ll learn how to set up a containerized development environment that rebuilds Go code automatically as you edit it. You’ll learn how to use tools such as Realize, and how to generate a small and efficient container image for production distribution using Docker Multistage Builds.

Table of Contents

  1. Setting up your Go Development Docker Environment
    1. Introduction and Motivations
      1. Some Background: Scripted versus Compiled
      2. Example Code
    2. Detecting and Rebuilding on File Changes
      1. Connecting to Other Containers
    3. Compiling Within a Container
      1. Disabling Cgo
      2. Pros and Cons of the golang Container Image
    4. The Builder Pattern and Multistage Builds
    5. Containerized Realize
      1. Advantages of the “Containerized Realize” Approach
    6. Recap
3.144.127.232