Skip to content

Commit

Permalink
Add AWS cli into Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ban-m committed Oct 20, 2024
1 parent e61f142 commit 435923c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ RUN cargo build --release
# Stage 2: Create the runtime image
FROM debian:bookworm
COPY --from=builder /app/target/release/jtk /usr/bin/
RUN apt-get update && apt-get install -y curl unzip &&\
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" &&\
unzip awscliv2.zip && ./aws/install && rm -rf ./aws
CMD ["jtk"]

0 comments on commit 435923c

Please sign in to comment.