diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0601171 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM alpine AS builder +RUN apk -U add automake autoconf build-base make +COPY . /src +WORKDIR /src +RUN autoreconf -i && ./configure && make check && make install + +FROM alpine +COPY --from=builder /usr/local/bin/jo /bin/jo +ENTRYPOINT ["/bin/jo"]