Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have S3 distribution follow Linux architecture naming conventions #71

Open
acdha opened this issue May 23, 2023 · 0 comments
Open

Have S3 distribution follow Linux architecture naming conventions #71

acdha opened this issue May 23, 2023 · 0 comments

Comments

@acdha
Copy link

acdha commented May 23, 2023

Related to #30, it's unnecessarily difficult to build things like Docker containers which install the session plugin because the URLs have arbitrary naming conventions for the architecture:

https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_arm64/session-manager-plugin.rpm
https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm

Ideally we'd have YUM and APT repositories as requested in #30 but for this particular need it would be nice if the architecture names matched Linux's architecture names so this could be as simple as:

RUN yum install -y https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_$(uname -m)/session-manager-plugin.rpm

where they'd be published as aarch64 or x86_64.

Currently, I have this less than ideal comparison:

RUN yum install -y https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_$(if [ $(uname -m) == "aarch64" ]; then echo "arm64"; else echo "64bit"; fi)/session-manager-plugin.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant