From c510e1f4566c61c3600046f53cc00e971ff32cc0 Mon Sep 17 00:00:00 2001 From: eirslett Date: Wed, 22 Jul 2015 13:26:17 +0200 Subject: [PATCH] Remove envconsul from Dockerfile The open source version of Unleash shouldn't depend on envconsul, since that's an internal operations detail at FINN.no. Instead, we accept configuration from environment variables passed through from the "docker run" command, or via Marathon/Mesos. --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2fbbd162c3..4031ac120b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,12 +2,9 @@ FROM nodesource/trusty:0.12 COPY . . -RUN curl -L https://github.com/hashicorp/envconsul/releases/download/v0.5.0/envconsul_0.5.0_linux_amd64.tar.gz | \ - tar -zx -C /usr/bin/ --strip-components 1 - RUN npm install --production && \ npm run build EXPOSE 4242 -CMD envconsul -consul $(route -n | awk '/UG/ {print $2}'):8500 -prefix unleash node server.js +CMD node server.js