summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMatthew Peveler <matt.peveler@gmail.com>2020-06-02 00:51:48 -0400
committerMatthew Peveler <matt.peveler@gmail.com>2020-06-02 00:51:48 -0400
commit3001d22e806181ec029931aef0e25c15f4ac8ee0 (patch)
treeaceb9508302ea45999ddfdd044bbb0a6e0780038 /Dockerfile
parenta2a5e9b1c25aa962dab8af186affdb4d1b7f10f6 (diff)
downloadasciidoc-git-3001d22e806181ec029931aef0e25c15f4ac8ee0.tar.gz
generate Makefile as part of docker build
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 5 insertions, 3 deletions
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"