diff options
author | Matthew Peveler <matt.peveler@gmail.com> | 2020-06-02 00:51:48 -0400 |
---|---|---|
committer | Matthew Peveler <matt.peveler@gmail.com> | 2020-06-02 00:51:48 -0400 |
commit | 3001d22e806181ec029931aef0e25c15f4ac8ee0 (patch) | |
tree | aceb9508302ea45999ddfdd044bbb0a6e0780038 | |
parent | a2a5e9b1c25aa962dab8af186affdb4d1b7f10f6 (diff) | |
download | asciidoc-git-3001d22e806181ec029931aef0e25c15f4ac8ee0.tar.gz |
generate Makefile as part of docker build
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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" |