Skip to content

Commit 094d35a

Browse files
committed
Add Dockerfiles
1 parent 726cff1 commit 094d35a

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

docker/Dockerfile.allvcs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM vladistan/autorevision:latest
2+
RUN apk update && apk add subversion bzr mercurial
3+
WORKDIR /app
4+
ENTRYPOINT ["/usr/local/bin/autorevision"]

docker/Dockerfile.git

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM alpine:3.10 AS builder
2+
RUN apk update && apk add git bash make asciidoc gzip sed
3+
COPY . /build
4+
RUN mkdir -p /build
5+
WORKDIR /build
6+
RUN ls
7+
RUN make install
8+
9+
10+
11+
FROM alpine:3.10
12+
RUN apk update && apk add git bash
13+
COPY --from=builder /usr/local/bin/autorevision /usr/local/bin
14+
ENTRYPOINT ["/usr/local/bin/autorevision"]

0 commit comments

Comments
 (0)