Skip to content

Commit

Permalink
fix(pact_verifier_cli): Correct docker file not that pact_models is a…
Browse files Browse the repository at this point in the history
… relative path
  • Loading branch information
rholshausen committed Feb 19, 2024
1 parent 3a0c32b commit b697c1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/pact_verifier_cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apk --no-cache add gcc musl-dev protobuf protobuf-dev
RUN rustup component add rustfmt

# Fix the cargo manifest so it can be built standalone
RUN sed -i -e 's/pact_models = {\s*version\s*=\s*"\([^"]*\).*/pact_models = "\1"/' /build/Cargo.toml
RUN sed -i -e 's/pact_verifier = {\s*version\s*=\s*"\([^"]*\).*/pact_verifier = "\1"/' /build/Cargo.toml

# Build our application.
Expand Down

0 comments on commit b697c1f

Please sign in to comment.