-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On modern CI server sometimes it’s handy to run such small tools from Docker container instead of making sure it exists on every build host
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM vladistan/autorevision:latest | ||
RUN apk update && apk add subversion bzr mercurial | ||
WORKDIR /app | ||
ENTRYPOINT ["/usr/local/bin/autorevision"] |
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,14 @@ | ||
FROM alpine:3.10 AS builder | ||
RUN apk update && apk add git bash make asciidoc gzip sed | ||
COPY . /build | ||
RUN mkdir -p /build | ||
WORKDIR /build | ||
RUN ls | ||
RUN make install | ||
|
||
|
||
|
||
FROM alpine:3.10 | ||
RUN apk update && apk add git bash | ||
COPY --from=builder /usr/local/bin/autorevision /usr/local/bin | ||
ENTRYPOINT ["/usr/local/bin/autorevision"] |