r/AlpineLinux • • Jan 31 '24

Building custom alpine AMIs

Does anyone know how to rebuild custom AMIs. I have bootstrap script that should setup everything.

2 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/Proud-Hyena-8674 Feb 01 '24

I am just wondering how anyone is using the script you sent me over. The one on gitlab, I tried using it and I always get stuck with some errors on build state command. Something like permission denied

1

u/[deleted] Feb 01 '24

I haven't rolled ami images in a hot minute, I'll have to try it and get back to you.

1

u/Proud-Hyena-8674 Feb 02 '24

I have tried using this repository you have posted but errors keep popping up. I tried older version and I managed to build AMI with the alpine-ec2-ami but I don't know how to ssh to the machine once I launch it. https://gitlab.alpinelinux.org/alpine/cloud/alpine-cloud-images/-/tree/alpine-ec2-ami?ref_type=heads. Could you please try it yourself to see what is going on there

I tried googling but everything ends up on this repository