From 3001d22e806181ec029931aef0e25c15f4ac8ee0 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Tue, 2 Jun 2020 00:51:48 -0400 Subject: generate Makefile as part of docker build Signed-off-by: Matthew Peveler --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index bab15f9..735eaca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,9 @@ ARG PYTHON_VERSION=3.6 # These images are based off Debian Buster (slim) using https://hub.docker.com/_/python/ as the "base" FROM python:${PYTHON_VERSION}-slim-buster +WORKDIR "/srv/asciidoc" +COPY . "/srv/asciidoc" + # Install the dependencies that asciidoc needs. The mkdir line is needed as something pulls in java jdk and it # will fail if that folder does not already exist because...java. RUN mkdir /usr/share/man/man1/ \ @@ -31,8 +34,7 @@ RUN mkdir /usr/share/man/man1/ \ texlive-latex-base \ unzip \ && apt-get clean && rm -rf /var/lib/apt/lists/* - -COPY . "/srv/asciidoc" -WORKDIR "/srv/asciidoc" + && autoconf \ + && ./configure CMD "/bin/bash" -- cgit v1.2.1