-
-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add alpine/debian dockerfiles
- Loading branch information
Showing
3 changed files
with
24 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ARG NODE_VERSION=current | ||
FROM node:${NODE_VERSION}-alpine | ||
|
||
RUN apk add bash curl git file libc6-compat gcompat jq | ||
# libc6-compat gcompat required for @pact-foundation/pact-cli ruby runtime | ||
# all other dependencies just used for @pact-foundation/pact testing | ||
# so you don't need to use those in your own projects | ||
|
||
ENTRYPOINT [ "bash", "-c", "scripts/ci/build-and-test.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
ARG NODE_VERSION=latest | ||
FROM node:${NODE_VERSION}-slim | ||
|
||
RUN apt-get -y update && apt-get -y install curl git jq | ||
# dependencies just used for @pact-foundation/pact testing | ||
# so you don't need to use those in your own projects | ||
|
||
ENTRYPOINT [ "bash", "-c", "scripts/ci/build-and-test.sh" ] |
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