Skip to content

To use the amazonlinux image on AzureDevOps requires adduser #178

Closed

Description

Ryen Tang (@kiazhi) Reece Dunham (@RDIL)
How do you feel about adding adduser to the amazonlinux image?

Darwin (@DarwinJS)
Not sure if you have any input?

Activity

  1. 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
  2. RDIL commented on Mar 8, 2019

    @RDIL
    Collaborator

    Did you mean to put azurelinux in the title? Also I have mixed opinions about this.

  3. 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
  4. TravisEz13 commented on Mar 8, 2019

    @TravisEz13
    MemberAuthor

    no... third time is a charm

  5. kiazhi commented on Mar 11, 2019

    @kiazhi
    Contributor

    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.

    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-linux-ami-basics.html

    If the plan to adducer is other than ec2-user, I will have mixed opinions about it.

  6. TravisEz13 commented on Mar 11, 2019

    @TravisEz13
    MemberAuthor

    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.

  7. TravisEz13 commented on Apr 11, 2019

    @TravisEz13
    MemberAuthor

    Done in #202

  8. DarwinJS commented on Apr 11, 2019

    @DarwinJS

    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.

  9. TravisEz13 commented on Apr 11, 2019

    @TravisEz13
    MemberAuthor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions