From 87ccbbe12250cc73efad32397025ecf82f40f1c6 Mon Sep 17 00:00:00 2001 From: ABaldwinHunter Date: Wed, 20 Jan 2016 16:36:22 -0500 Subject: [PATCH 1/2] Combine node install commands into single RUN Avoids problematic behavior that occurs when the nodesource curl and nodejs install commands are cached separately. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0b6bcef8..f5d5f9d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,8 @@ COPY Gemfile.lock /usr/src/app/ COPY vendor/php-parser/composer.json /usr/src/app/vendor/php-parser/ COPY vendor/php-parser/composer.lock /usr/src/app/vendor/php-parser/ -RUN curl --silent --location https://deb.nodesource.com/setup_5.x | bash - -RUN apt-get update && apt-get install -y nodejs python openssh-client php5-cli php5-json +RUN curl --silent --location https://deb.nodesource.com/setup_5.x | bash - && \ + apt-get update && apt-get install -y nodejs python openssh-client php5-cli php5-json RUN gem install bundler --no-ri --no-rdoc && \ bundle install -j 4 && \ curl -sS https://getcomposer.org/installer | php From fa7a0ef711e9a1e9b50eca283a31236d4b8bed32 Mon Sep 17 00:00:00 2001 From: ABaldwinHunter Date: Wed, 20 Jan 2016 16:44:32 -0500 Subject: [PATCH 2/2] Add MIT License Put end to package.json warnings. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f8e41b80..9dbcb7d7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "codeclimate-duplication", "version": "0.0.1", "description": "Find similar structures in your code", - "license": "TODO Add actual license", + "license": "MIT", "repository": { "type": "git", "url": "git@github.com:codeclimate/codeclimate-duplication.git"