Skip to content

Commit

Permalink
chore(pact_verifier_cli): Upgrade docker image to use Alpine 3.18
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Aug 29, 2023
1 parent 417cb80 commit 9034576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/pact_verifier_cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1-alpine3.16 AS builder
FROM rust:1-alpine3.18 AS builder

# Add our source code.
ADD . /build
Expand All @@ -13,7 +13,7 @@ RUN sed -i -e 's/pact_verifier = {\s*version\s*=\s*"\([^"]*\).*/pact_verifier =
RUN cd build && cargo build --release

# Now, we need to build our _real_ Docker container, copying in the executable.
FROM alpine:3.16.2
FROM alpine:3.18
RUN apk --no-cache add ca-certificates
COPY --from=builder \
/build/target/release/pact_verifier_cli \
Expand Down

0 comments on commit 9034576

Please sign in to comment.