Skip to content

Commit

Permalink
Add support for building as Docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Jul 13, 2024
1 parent 1b41f14 commit 631bd09
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM ubuntu:18.04 AS antbuild

RUN apt-get update && apt-get -y install default-jre make

WORKDIR /app
COPY . /app

RUN make parser


FROM ubuntu:18.04 AS runtime

RUN apt-get update && apt-get -y install git python python-pip
RUN pip install clint

WORKDIR /app
COPY --from=antbuild /app /app

ENV PATH "/app:${PATH}"

ENTRYPOINT ["bkl"]

0 comments on commit 631bd09

Please sign in to comment.