We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69615fa commit fa8b378Copy full SHA for fa8b378
Dockerfile
@@ -1,8 +1,15 @@
1
-FROM alpine:3.10
+FROM alpine:3.10 AS builder
2
+RUN apk update && apk add git bash make asciidoc gzip
3
+RUN ls
4
+COPY . /build
5
+RUN mkdir -p /build
6
+WORKDIR /build
7
+RUN make install
8
-RUN apk update && apk add git bash
9
-ADD ./autorevision.sh /opt/
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
WORKDIR /app
-ENTRYPOINT ["/opt/autorevision.sh"]
15
+ENTRYPOINT ["/usr/local/bin/autorevision"]
0 commit comments