Skip to content

Commit 665ba44

Browse files
committed
Add AWS CLI to UPI image.
Add the AWS CLI to the UPI image for use in the upi templates (which install the cli through pip) and the VSphere IPI template. These commands are the same as used by the OpenStack Dockerfile.
1 parent 9e3561e commit 665ba44

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

images/installer/Dockerfile.upi.ci

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ RUN curl -L -O -k https://vcsa-ci.vmware.devcluster.openshift.com/certs/download
4444
unzip download.zip && \
4545
cp certs/lin/* /etc/pki/ca-trust/source/anchors && \
4646
update-ca-trust extract
47+
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
48+
unzip awscliv2.zip && \
49+
./aws/install -b /bin && \
50+
rm -rf ./aws awscliv2.zip
4751

4852
RUN mkdir /output && chown 1000:1000 /output
4953
USER 1000:1000

0 commit comments

Comments
 (0)