From 74ad75d706283bb6402782e0e2bab942983e6196 Mon Sep 17 00:00:00 2001 From: Sven Speckmaier Date: Tue, 5 Mar 2019 16:13:52 +0100 Subject: [PATCH] target version --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index b2ee7bb..6e7b1c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,6 +54,7 @@ RUN cd /opt/rancherize-package \ && if [ ! -z "${CURRENT_TAG}" ] ; then TARGET_VERSION=$(git describe --tags) ; fi \ && (git fetch --unshallow origin || echo "Not a shallow repository, continuing without fetch") \ && cd /opt/rancherize \ + && echo "Target version: ${TARGET_VERSION}" && sed -i "s/%TARGET_VERSION%/${TARGET_VERSION}/" composer.json \ && curl -sSL "https://gist.githubusercontent.com/justb81/1006b89e41e41e1c848fe91969af7a0b/raw/c12faf968e659356ec1cb53f313e7f8383836be3/getcomposer.sh" | sh \ && COMPOSER_ALLOW_SUPERUSER=1 ./composer.phar install \