Question
What is the best way to go about building a docker image for my Go application? I have Docker installed and running on Mac OS and am using the standard workspace environment for Go.
Background
I am new to Docker as well as Go. I am decently versed in the language now and have built a REST API that I wish to containerize and deploy to AWS. I have never used Docker before, and am just learning the ropes now.
My app uses the Go standard libraries + https://github.com/gorilla/mux.
I will be deploying this container on an Amazon EC2 instance. I know I don’t need Docker but I want to learn how to use it with Go as I like the idea of being able to use an orchestration system in the future.
Thanks in advance!
submitted by /u/dinosaurlegs27
[link] [comments]