Skip to content

Commit

Permalink
Support other architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswalkiranavtar authored Dec 2, 2024
1 parent 2100e7e commit 79690e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/Dockerfile.aws-cli
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM golang:1.22-bullseye AS builder
ARG OS=linux
ARG ARCH=amd64
ARG ARCH=x86_64

# Downloading aws-cli
WORKDIR /tmp
RUN apt-get update
RUN apt-get install unzip
RUN unzip -v
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
RUN curl "https://awscli.amazonaws.com/awscli-exe-${OS}-${ARCH}.zip" -o "awscliv2.zip"
RUN unzip awscliv2.zip


Expand All @@ -22,4 +22,4 @@ RUN rm -rf ./aws/*
RUN rmdir ./aws
RUN aws --version

USER ${USER_UID}
USER ${USER_UID}

0 comments on commit 79690e3

Please sign in to comment.