-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #430 from pact-foundation/deps/Dockerfile
chore(ci): test Docker images in CI
- Loading branch information
Showing
4 changed files
with
43 additions
and
13 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
FROM golang:1.22.5 | ||
|
||
# Install pact ruby standalone binaries | ||
RUN curl -LO https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v2.0.3/pact-2.0.3-linux-x86_64.tar.gz; \ | ||
tar -C /usr/local -xzf pact-2.0.3-linux-x86_64.tar.gz; \ | ||
rm pact-2.0.3-linux-x86_64.tar.gz | ||
|
||
ENV PATH /usr/local/pact/bin:$PATH | ||
ARG VERSION=latest | ||
FROM golang:${VERSION} | ||
|
||
RUN apt-get update && apt-get install -y openjdk-17-jre file protobuf-compiler | ||
COPY . /go/src/github.com/pact-foundation/pact-go | ||
|
||
WORKDIR /go/src/github.com/pact-foundation/pact-go | ||
|
||
CMD ["make", "test"] |
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
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