Sign inSign up

ambakshi/amazon-linux2

By ambakshi

Updated about 7 years ago

Amazon Linux2 (minimal 44mb), based on amzn2-ami-hvm-2017.12.0.20180328.1-x86_64-gp2 (ami-07eb707f)

Image
0

1.2K

ambakshi/amazon-linux2 repository overview

UPDATE: Add "-p yum-plugin-ovl" so this image can be used as a base on yum based hosts.

I posted how to create an Amazon Linux image on the AWS Developer Forum ( copied from https://forums.aws.amazon.com/message.jspa?messageID=574500 ) :

For anyone interested, I got this working. I'd push up the image to the registry, but I'm not sure if I have permission to do so. If someone from AWS would like, I can put the file somewhere (~100mb).

Boot up an amazon linux 2.0 ami (I used amzn2-ami-hvm-2017.12.0.20180328.1-x86_64-gp2 (ami-07eb707f)). yum install -y docker && systemctl start docker curl -LO https://raw.githubusercontent.com/docker/docker/master/contrib/mkimage-yum.sh bash mkimage-yum.sh -p yum-plugin-ovl ambakshi/amazon-linux2

At this point you have an image with the specified name, tagged by the os version. You can run it, retag it and push it to a private registry, export it, etc. Came in real handy during our move from centos to amazon linux when I was testing puppet.

Tag summary

Content type

Image

Digest

Size

38.9 MB

Last updated

about 7 years ago

docker pull ambakshi/amazon-linux2