File tree Expand file tree Collapse file tree
Container-Root/eks/ops/setup Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ if [ -f ${HOME}/.aws/credentials ]; then
2424fi
2525# # If no AWS CLI credentials are configured, then the instance profile is in effect
2626# # AWS_REGION - will be set to AWS_DEFAULT_REGION if not set externally.
27- export AWS_DEFAULT_REGION = us-east -2
27+ export AWS_DEFAULT_REGION = us-west -2
2828if [ "${AWS_REGION}" == "" ]; then
2929 export AWS_REGION = $AWS_DEFAULT_REGION
3030fi
5353export IMAGE = aws-do-eks
5454# # VERSION: [optional] - Version tag for this Docker image. Example: v20180302
5555# export VERSION=v$(date +%Y%m%d)
56- export VERSION = v20260606
56+ export VERSION = v20260611
5757export TAG = $( if [ -z " ${VERSION} " ]; then echo " " ; else echo " :${VERSION} " ; fi )
5858# # BUILD_OPTS: [optional] - arguments for the docker image build command
5959export BUILD_OPTS = " --progress plain --build-arg http_proxy=${ http_proxy } --build-arg https_proxy=${ https_proxy } --build-arg no_proxy=${ no_proxy } "
Original file line number Diff line number Diff line change @@ -24,3 +24,4 @@ Container-Root/SBOM.txt
2424Container-Root /version.txt
2525Container-Root /eks /deployment /topology /topograph /topograph /
2626Container-Root /eks /deployment /nvidia-dynamo /dynamo-platform- * .tgz
27+ * .pkg
Original file line number Diff line number Diff line change @@ -7,14 +7,23 @@ ARCH=$(uname -m)
77OS=$( uname -s)
88OS_LOWER=$( echo $OS | tr ' [:upper:]' ' [:lower:]' )
99PLATFORM=${OS_LOWER} -${ARCH}
10- URL=https://awscli.amazonaws.com/awscli-exe-${PLATFORM} .zip
11- echo " $URL "
12-
1310# Install aws cli
14- curl " $URL " -o " awscliv2.zip"
15- unzip awscliv2.zip
16- ./aws/install
17- sudo cp -f /usr/local/bin/aws /bin/aws
11+ if [ " $OS " == " Darwin" ]; then
12+ echo " Installing AWS CLI on Mac ..."
13+ URL=" https://awscli.amazonaws.com/AWSCLIV2.pkg"
14+ echo " ${URL} "
15+ curl " ${URL} " -o " AWSCLIV2.pkg"
16+ sudo installer -pkg AWSCLIV2.pkg -target /
17+ else
18+ echo " Installing AWS CLI on Linux ..."
19+ URL=https://awscli.amazonaws.com/awscli-exe-${PLATFORM} .zip
20+ echo " $URL "
21+ curl " $URL " -o " awscliv2.zip"
22+ unzip awscliv2.zip
23+ ./aws/install
24+ sudo cp -f /usr/local/bin/aws /bin/aws
25+ rm -rf ./aws
26+ rm -f awscliv2.zip
27+ fi
1828aws --version
19- rm -rf ./aws
20- rm -f awscliv2.zip
29+
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ RUN export http_proxy=$http_proxy; export https_proxy=$https_proxy; export no_pr
1616
1717WORKDIR /eks
1818
19- CMD /startup.sh
19+ CMD [ " /startup.sh" ]
2020
You can’t perform that action at this time.
0 commit comments