You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
To use the amazonlinux image on AzureDevOps requires adduser #178
changed the title [-]To use the alpine image on AzureDevOps requires `adduser`[/-][+]To use the azurelinux image on AzureDevOps requires `adduser`[/+]on Mar 8, 2019
changed the title [-]To use the azurelinux image on AzureDevOps requires `adduser`[/-][+]To use the amazonlinux image on AzureDevOps requires `adduser`[/+]on Mar 8, 2019
Actually, I have no issue if you are planning to add ec2-user because that is the only account by default that can log in remotely using SSH; this account also has sudo privileges.
I would not add any user in the image unless someone files an issue. Azure DevOps adds it's own user at run time and switches to it. They just expect the utility to be there. With the various distros of linux, I think that is reasonable.
Travis Plunk (@TravisEz13) - sorry I'm very late to the game here. IMO AWS is a little too obsessive about minimalizing all their Amazon Linux 2 distros. We have to add back stuff like wget to container host images (ECS Optimized). Of course their container configuration is the most minimalized of all.
So that I can do tests of fuller builds on local docker, I now do monthly builds of Amazon Linux 2 containers that have a fuller distribution:
darwinjs/amazonlinux2ec2build
I also do two that include powershell - but you are trying to test installing that.
Activity
[-]To use the alpine image on AzureDevOps requires `adduser`[/-][+]To use the azurelinux image on AzureDevOps requires `adduser`[/+]RDIL commentedon Mar 8, 2019
Did you mean to put azurelinux in the title? Also I have mixed opinions about this.
[-]To use the azurelinux image on AzureDevOps requires `adduser`[/-][+]To use the amazonlinux image on AzureDevOps requires `adduser`[/+]TravisEz13 commentedon Mar 8, 2019
no... third time is a charm
kiazhi commentedon Mar 11, 2019
Actually, I have no issue if you are planning to add
ec2-userbecause that is the only account by default that can log in remotely using SSH; this account also has sudo privileges.https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-linux-ami-basics.html
If the plan to
adduceris other thanec2-user, I will have mixed opinions about it.TravisEz13 commentedon Mar 11, 2019
I would not add any user in the image unless someone files an issue. Azure DevOps adds it's own user at run time and switches to it. They just expect the utility to be there. With the various distros of linux, I think that is reasonable.
TravisEz13 commentedon Apr 11, 2019
Done in #202
DarwinJS commentedon Apr 11, 2019
Travis Plunk (@TravisEz13) - sorry I'm very late to the game here. IMO AWS is a little too obsessive about minimalizing all their Amazon Linux 2 distros. We have to add back stuff like wget to container host images (ECS Optimized). Of course their container configuration is the most minimalized of all.
So that I can do tests of fuller builds on local docker, I now do monthly builds of Amazon Linux 2 containers that have a fuller distribution:
darwinjs/amazonlinux2ec2build
I also do two that include powershell - but you are trying to test installing that.
TravisEz13 commentedon Apr 11, 2019
We concluded that we should keep a minimal image with powershell, then a test-deps image that will include all the test-depenecies to run in azure devops pipelines.
The image is up here: https://cloud.docker.com/u/pshorg/repository/docker/pshorg/powershellcommunity-test-deps
The base image is here: https://cloud.docker.com/u/pshorg/repository/docker/pshorg/powershellcommunity