Created
July 23, 2019 10:32
-
-
Save azakordonets/e7785cdb3d87399d3ede7e03e9a02290 to your computer and use it in GitHub Desktop.
Standalone Pact running in alpine Docker image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.9 | |
RUN apk --no-cache add ca-certificates wget bash \ | |
&& wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \ | |
&& wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.29-r0/glibc-2.29-r0.apk \ | |
&& apk add glibc-2.29-r0.apk | |
RUN wget https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.69.0/pact-1.69.0-linux-x86_64.tar.gz \ | |
&& tar xzf pact-1.69.0-linux-x86_64.tar.gz \ | |
&& rm -rf pact-1.69.0-linux-x86_64.tar.gz | |
RUN ln -s /pact/bin/pact /usr/local/bin \ | |
&& ln -s /pact/bin/pact-broker /usr/local/bin \ | |
&& ln -s /pact/bin/pact-message /usr/local/bin \ | |
&& ln -s /pact/bin/pact-mock-service /usr/local/bin \ | |
&& ln -s /pact/bin/pact-provider-verifier /usr/local/bin \ | |
&& ln -s /pact/bin/pact-publish /usr/local/bin \ | |
&& ln -s /pact/bin/pact-stub-service /usr/local/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment