aws-elastic-beanstalk-cli-setup icon indicating copy to clipboard operation
aws-elastic-beanstalk-cli-setup copied to clipboard

add instructions for alpine

Open sdolenc opened this issue 6 years ago • 1 comments

1. Please specify the following:

  • OS: [e.g. OS X, Ubuntu, Windows, etc.]: alpine container

  • Shell (Bash, PowerShell, Zsh, etc.): sh

  • [x] I have reviewed the troubleshooting tips described here and they do not solve my problem

2. Description Please describe the problem you are facing as precisely as possible in this section

Can we add prerequisites for alpine? These appear to work

docker run -it alpine:3.11.5
apk add build-base python3-dev libffi-dev openssl-dev

sdolenc avatar Apr 22 '20 17:04 sdolenc

This works for me:

RUN apk update \
    && apk add build-base python3-dev libffi-dev openssl-dev zlib-dev musl-dev cargo gcc \
    && curl https://github.com/aws/aws-elastic-beanstalk-cli-setup/archive/refs/tags/v0.1.2.tar.gz -L --output ebcli.tar.gz \
    && tar -zxvf ebcli.tar.gz \
    && ./aws-elastic-beanstalk-cli-setup-0.1.2/scripts/bundled_installer

I added musl-dev, cargo, and gcc for setting up cryptography. Needed zlib-dev for some other part of the installation; can't remember which. Some of this may be redudant, but the above works for me.

benjaminwy avatar Sep 16 '21 21:09 benjaminwy