Go is a popular programming language used by many developers.
In Lambda Linux Project, we use Go as one of our primary programming languages. Sometime back as Go 1.5 support was nearing its end, we had to migrate to Go 1.6. So, we created Go 1.6 RPMs for Amazon Linux.
We are happy to share our Go 1.6 RPMs with the rest of the Amazon Linux User Community.
Like our Node.js packages we are releasing Go 1.6 packages in a repository called epll-preview instead of our regular epll repository. The main reason for this is that we think Go 1.6 RPMs should belong to the Base OS repository rather than in an add-on repository like EPLL. We hope Amazon Linux AMI team will land Go 1.6 or 1.7 RPMs in their repositories soon. Till then, we will support Go 1.6 RPMs in epll-preview. We will track upstream Go project and push security updates as and when they occur.
Getting started with Go 1.6 package
Our Go 1.6 RPMs works both on an Amazon Linux EC2 instance and in a baseimage-amzn based container.
In this blog post we will show you how to use Go 1.6 packages with baseimage-amzn.
First step is to download baseimage-amzn docker image locally. Please see instructions on our homepage under DOCKER BASE IMAGE tab to install docker and download baseimage-amzn.
We can use docker images to verify that we have our image available locally.
Next we create a Dockerfile that securely downloads golang16 RPM from epll-preview repository.
Using this Dockerfile we can build and run our container.
We hope you will enjoy Go 1.6 packages for Amazon Linux. If you need further help, you can contact us on any of our support channels.
We love your feedback. We have a Slack channel and we are @lambda_linux on Twitter. Please join us on Slack or follow us on Twitter.
Thank you for using baseimage-amzn and Lambda Linux packages.
We would also like to say thank you to Fedora Project for initial source RPM.