Skip to content

Commit

Permalink
chore: use aws-cli as a base image for aws-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
vvagaytsev committed Jun 4, 2024
1 parent abb6787 commit ad8a177
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion support/alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,17 @@ RUN GARDEN_DISABLE_ANALYTICS=true GARDEN_DISABLE_VERSION_CHECK=true garden util

WORKDIR /project

FROM amazon/aws-cli:2.16.0@sha256:239c87cc223daf77eea3291d3956e0a4d60e9b55ec5c52ce65b3862aac1b2a51 AS aws-builder
#
# AWS CLI base
#
FROM amazon/aws-cli:2.16.0@sha256:239c87cc223daf77eea3291d3956e0a4d60e9b55ec5c52ce65b3862aac1b2a51 AS aws-base

#
# AWS CLI based builder
#
FROM python:3.11-alpine@sha256:e5d592c422d6e527cb946ae6abb1886c511a5e163d3543865f5a5b9b61c01584 AS aws-builder

COPY --chown=$USER:root --from=aws-base /aws-cli /aws-cli

RUN apk add --no-cache \
wget \
Expand Down

0 comments on commit ad8a177

Please sign in to comment.