Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ban-m committed Oct 20, 2024
2 parents 89843a4 + 435923c commit ac8d6ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_push.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Create and publich a JTK docker image
on:
push:
branches: ['github-actions']
branches: ['refactor']
env:
CARGO_TERM_COLOR: always
jobs:
Expand Down
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 ac8d6ca

Please # to comment.