Skip to content

Commit b8eea88

Browse files
desaiajayhnrEC2 Default User
andauthored
Updated the cloud9-startup.sh to download and install latest version … (#511)
* Updated the cloud9-startup.sh to download and install latest version of eksctl Updated the yelb-appserver-v2/Dockerfile charging the gem install flag from --no-ri --no-rdoc to --no-document, installed zlib1g , zlib1g-dev and puma packages * Removed the change log as per the review comments Co-authored-by: EC2 Default User <[email protected]>
1 parent 6dd721b commit b8eea88

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

walkthroughs/eks-getting-started/cloud9-startup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pip3 install awscli --upgrade --user
1414
source ~/.bash_profile
1515

1616
# Install eksctl
17-
curl --silent --location "https://github.com/weaveworks/eksctl/releases/download/0.19.0-rc.1/eksctl_Linux_amd64.tar.gz" | tar xz -C /tmp
17+
curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp
1818
sudo mv /tmp/eksctl /usr/local/bin
1919

2020
# Install kubectl

walkthroughs/eks-getting-started/yelb-appserver-v2/Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ ENV LANG=en_us.UTF-8
1414
ENV LC_ALL=C.UTF-8
1515
ENV RACK_ENV=production
1616

17-
RUN gem install sinatra --no-ri --no-rdoc
18-
RUN gem install redis --no-ri --no-rdoc
17+
RUN gem install sinatra --no-document
18+
RUN gem install redis --no-document
1919
### hack to allow the setup of the pg gem (which would fail otherwise)
2020
RUN apt-get update
21-
RUN apt-get install libpq-dev -y
21+
RUN apt-get install libpq-dev zlib1g zlib1g-dev -y
2222
### end of hack (this would require additional research and optimization)
23-
RUN gem install pg --no-ri --no-rdoc
23+
RUN gem install pg --no-document
2424
### this installs the AWS SDK for DynamoDB (so that appserver can talk to DDB Vs the default Postgres/Redis)
25-
RUN gem install aws-sdk-dynamodb pg --no-ri --no-rdoc
25+
RUN gem install aws-sdk-dynamodb pg puma --no-document
26+
2627
# Set the working directory to /
2728
WORKDIR /
2829
ADD startup.sh startup.sh

0 commit comments

Comments
 (0)