Cool small post for beginners but please use an up to date Go version.
And the Dockerfile is absolutely not best practice. Use multistage Dockerfile. Build the app in your alpine image then copy it to an scratch image. The result is an Dockerimage with an size about 6-12Mb and not 100Mb+ 😉
I'm agree with you @achimgrolimund, I commented too.
I created a serie about create apps in go ok order to learning go by examples on dev.to and I also create videos series about docker and Kubernetes if it's interest you.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Cool small post for beginners but please use an up to date Go version.
And the Dockerfile is absolutely not best practice. Use multistage Dockerfile. Build the app in your alpine image then copy it to an scratch image. The result is an Dockerimage with an size about 6-12Mb and not 100Mb+ 😉
See here an Post: grolimund-solutions.ch/dockerimage...
It is on german but the Code is the Same 😋
Best regards
Thank you for your comments.. I'll updated the documents slightly.
btw: here the link to my GitRepo with this example code
github.com/GrolimundSolutions/go-m...
I'm agree with you @achimgrolimund, I commented too.
I created a serie about create apps in go ok order to learning go by examples on dev.to and I also create videos series about docker and Kubernetes if it's interest you.