diff --git a/Dockerfile b/Dockerfile index 7742f8d7..211f6598 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,10 @@ FROM alpine:3.6 LABEL MAINTAINERS="Guillaume Scheibel , Damien DUPORTAL " -# Check https://pkgs.alpinelinux.org/packages?name=asciidoctor&branch=&repo=&arch=&maintainer= -ENV ASCIIDOCTOR_VERSION="1.5.5-r1" +ARG ASCIIDOCTOR_VERSION="1.5.6.1" +ENV asciidoctor_version=${ASCIIDOCTOR_VERSION} RUN apk add --no-cache \ - asciidoctor="${ASCIIDOCTOR_VERSION}" \ bash \ curl \ ca-certificates \ @@ -26,6 +25,7 @@ RUN apk add --no-cache \ python2-dev \ py2-pip \ ruby-dev \ + && gem install --no-document asciidoctor --version "${asciidoctor_version}" \ && gem install --no-document asciidoctor-epub3 --version 1.5.0.alpha.7 \ && gem install --no-document asciidoctor-pdf --version 1.5.0.alpha.15 \ && gem install --no-document epubcheck --version 3.0.1 \ diff --git a/tests/test_suite.bats b/tests/test_suite.bats index d416b5f5..2421e41a 100644 --- a/tests/test_suite.bats +++ b/tests/test_suite.bats @@ -2,7 +2,7 @@ DOCKER_IMAGE_NAME="docker-asciidoctor:test" TMP_GENERATION_DIR="${BATS_TEST_DIRNAME}/tmp" -ASCIIDOCTOR_VERSION="1.5.5" +ASCIIDOCTOR_VERSION="1.5.6.1" clean_generated_files() { rm -rf "${TMP_GENERATION_DIR}"