From 772de0b0394945256cbaf2af912a1e98b9491fe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Abdelkader=20Mart=C3=ADnez=20P=C3=A9rez?= Date: Tue, 17 Dec 2019 09:57:27 +0100 Subject: [PATCH] docs: Use sphinx version variable to render an always correct Kapow! Dockerfile --- docs/source/the_project/install_and_configure.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/the_project/install_and_configure.rst b/docs/source/the_project/install_and_configure.rst index c2f2a50..dd28d0a 100644 --- a/docs/source/the_project/install_and_configure.rst +++ b/docs/source/the_project/install_and_configure.rst @@ -82,13 +82,13 @@ If you want to include *Kapow!* in a `Docker` image, you can add the binary directly from the releases section. Below is an example :file:`Dockerfile` that includes *Kapow!*. -.. code-block:: dockerfile +.. parsed-literal:: FROM debian:stretch-slim RUN apt-get update - ADD https://github.com/BBVA/kapow/releases/download//kapow_linux_amd64 /usr/bin/kapow + ADD https://github.com/BBVA/kapow/releases/download/v\ |version|\ /kapow\_\ |version|\ _linux_amd64 /usr/bin/kapow RUN chmod 755 /usr/bin/kapow