Skip to content

Commit 6eb02be

Browse files
committed
run: Add aws client tool
This adds the AWS CLI tool to enable file transfers, for example using AWS S3 buckets. Signed-off-by: Alexander Herfurtner <[email protected]>
1 parent 3b61eb7 commit 6eb02be

File tree

7 files changed

+25
-0
lines changed

7 files changed

+25
-0
lines changed

Dockerfile_14.04

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ RUN apt-get install -y \
8686
RUN apt-get update && apt-get install -y \
8787
vim nano tmux
8888

89+
# Install file transfer tools
90+
RUN apt-get update && apt-get install -y \
91+
awscli
92+
8993
# Update to latest
9094
RUN apt-get update && apt-get dist-upgrade -y
9195

Dockerfile_16.04

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ RUN apt-get install -y \
8686
RUN apt-get update && apt-get install -y \
8787
vim nano tmux
8888

89+
# Install file transfer tools
90+
RUN apt-get update && apt-get install -y \
91+
awscli
92+
8993
# Update to latest
9094
RUN apt-get update && apt-get dist-upgrade -y
9195

Dockerfile_18.04

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ RUN curl https://storage.googleapis.com/git-repo-downloads/repo-2.32 > /bin/repo
8080
RUN apt-get update && apt-get install -y \
8181
vim nano tmux
8282

83+
# Install file transfer tools
84+
RUN apt-get update && apt-get install -y \
85+
awscli
86+
8387
# Update to latest
8488
RUN apt-get update && apt-get dist-upgrade -y
8589

Dockerfile_20.04

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ RUN apt-get update && apt-get install -y \
8181
python3-cryptography python3-jsonschema python3-pyelftools \
8282
python3-yaml swig gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu
8383

84+
# Install file transfer tools
85+
RUN apt-get update && apt-get install -y \
86+
awscli
87+
8488
# Update to latest
8589
RUN apt-get update && apt-get dist-upgrade -y
8690

Dockerfile_20.04_android_15.0.0_1.2.0

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ ENV ENV_RUN_SCRIPT="export CLANG_PATH=/opt/prebuilt-android-clang; \
8686
export LIBCLANG_PATH=/opt/prebuilt-android-clang/clang-r510928/lib; \
8787
export AARCH64_GCC_CROSS_COMPILE=/opt/${GCC_CROSS_COMPILE_TOOL_CHAIN_AARCH64}/bin/aarch64-none-linux-gnu-"
8888

89+
# Install file transfer tools
90+
RUN apt-get update && apt-get install -y \
91+
awscli
92+
8993
# Update to latest
9094
RUN apt-get update && apt-get dist-upgrade -y
9195

Dockerfile_22.04

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ RUN apt-get update && apt-get install -y \
8282
python3-yaml swig gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu \
8383
libgnutls28-dev u-boot-tools
8484

85+
# Install file transfer tools
86+
RUN apt-get update && apt-get install -y \
87+
awscli
88+
8589
# Update to latest
8690
RUN apt-get update && apt-get dist-upgrade -y
8791

run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ fi
246246
set_quirks
247247

248248
docker run ${EXTRA_ARGS} --rm -e HOST_USER_ID=$uid -e HOST_USER_GID=$gid \
249+
-v ~/.aws:/home/vari/.aws \
249250
-v ~/.ssh:/home/vari/.ssh \
250251
-v "${WORKDIR}":/workdir \
251252
-v ~/.gitconfig:/tmp/host_gitconfig \

0 commit comments

Comments
 (0)