Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

aws-sam-cli being installed multiple times #14

Open

Description

@aprilmintacpineda

Is your feature request related to a problem? Please describe.

entrypoint.sh contains installAwsSam which installs aws-sam-cli every time.

Describe the solution you'd like

  1. If possible, use a different docker image like https://registry.hub.docker.com/r/vukomir/aws-sam-cli that comes with nodejs and aws-sam-cli.
  2. Add a check on entrypoint.sh to check for sam --version and install sam cli based on that output.

Describe alternatives you've considered

None.

Additional context

N/A

Activity

  1. cody-hoffman commented on Sep 7, 2020

    @cody-hoffman
    Contributor

    @aprilmintacpineda if you can please put up a PR. Using the docker image you linked will save a lot of time when the action runs.

  2. aprilmintacpineda commented on Sep 7, 2020

    @aprilmintacpineda
    Author

    Sure thing!

  3. TomBeckett commented on Oct 8, 2020

    @TomBeckett

    While I'm not against this approach (anything that speeds up builds its great!!), the version of SAM in this docker image is very old. Just something to be aware of @aprilmintacpineda @cody-hoffman

  4. aprilmintacpineda commented on Oct 8, 2020

    @aprilmintacpineda
    Author

    Actually I tried out not using this, turns out sam-cli and it's dependencies are installed by default on github actions, I was able to build and deploy without this tool

  5. cody-hoffman commented on Oct 13, 2020

    @cody-hoffman
    Contributor

    @aprilmintacpineda can you share an example of how that works?

  6. cdierkens commented on Oct 24, 2020

    @cdierkens

    Under the Virtual Environments Docs there is a list of preinstalled software. AWS SAM is listed.
    https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md#cli-tools

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions