From 631bd09c70f77b9746f169f86ede25918f72c52d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= Date: Sat, 13 Jul 2024 10:45:20 +0200 Subject: [PATCH] Add support for building as Docker container --- Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..d8d34dee --- /dev/null +++ b/Dockerfile @@ -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"]