From 9cc26e78f5126395c17fa024915c0c2d2650ff71 Mon Sep 17 00:00:00 2001 From: Itai Gendler Date: Thu, 4 Jan 2018 12:20:07 +0200 Subject: [PATCH] Update dockerfile with git --- .dockerignore | 4 +++- Dockerfile | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.dockerignore b/.dockerignore index 0e31ecf3e..6f95531a6 100644 --- a/.dockerignore +++ b/.dockerignore @@ -9,4 +9,6 @@ node_modules *.md docker-compose.yml codefresh.yml -.coveralls.yml \ No newline at end of file +.coveralls.yml +examples +dist diff --git a/Dockerfile b/Dockerfile index 708ee1099..d842460b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -FROM node:8.8.0-alpine +FROM node:9.2.0-alpine + +RUN apk update && apk add git WORKDIR /cf-cli @@ -10,4 +12,4 @@ COPY . /cf-cli RUN ln -s $(pwd)/lib/interface/cli/index.js /usr/local/bin/codefresh -ENTRYPOINT ["codefresh"] \ No newline at end of file +ENTRYPOINT ["codefresh"]