From 00b56eaf6c8b0d2bb831dee167427ce8760df231 Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Tue, 11 Jun 2019 18:18:33 +0200 Subject: [PATCH] :art: Add variable for Clojure version Signed-off-by: mathieu.brunot --- docker/release.backend/Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docker/release.backend/Dockerfile b/docker/release.backend/Dockerfile index 0295c89b3..a5b6b9dd2 100644 --- a/docker/release.backend/Dockerfile +++ b/docker/release.backend/Dockerfile @@ -2,14 +2,15 @@ FROM openjdk:8-jre LABEL maintainer="Monogramm Maintainers " -ENV LANG=en_US.UTF-8 \ +ENV CLOJURE_VERSION=1.10.0.442 \ + LANG=en_US.UTF-8 \ LC_ALL=C.UTF-8 RUN set -ex; \ - wget https://download.clojure.org/install/linux-install-1.10.0.442.sh; \ - chmod +x linux-install-1.10.0.442.sh; \ - ./linux-install-1.10.0.442.sh; \ - rm -rf linux-install-1.10.0.442.sh + wget "https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh"; \ + chmod +x "linux-install-$CLOJURE_VERSION.sh"; \ + "./linux-install-$CLOJURE_VERSION.sh"; \ + rm -rf "linux-install-$CLOJURE_VERSION.sh" RUN set -ex; \ apt-get update -yq && \