Skip to content

Commit

Permalink
Merge pull request #657 from snyk/fix/git-in-docker
Browse files Browse the repository at this point in the history
fix: install git in snyk docker files
  • Loading branch information
dkontorovskyy committed Jul 12, 2019
2 parents c4b22b8 + dedc7f0 commit b89129a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.docker
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MAINTAINER Snyk Ltd

# Install Docker
RUN apt-get update && \
apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common && \
apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common git && \
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" && \
apt-get update && apt-get install -y docker-ce jq && \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.gradle-2.8
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /home/node

# Install gradle, node, cli
RUN apt-get update && \
apt-get install -y curl unzip && \
apt-get install -y curl unzip git && \
curl -L https://services.gradle.org/distributions/gradle-2.8-bin.zip -o gradle-2.8-bin.zip && \
unzip gradle-2.8-bin.zip -d /home/node/ &&\
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.gradle-4.4
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /home/node

# Install gradle, node, cli
RUN apt-get update && \
apt-get install -y curl unzip && \
apt-get install -y curl unzip git && \
curl -L https://services.gradle.org/distributions/gradle-4.4-bin.zip -o gradle-4.4-bin.zip && \
unzip gradle-4.4-bin.zip -d /home/node/ && \
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.gradle-5.4
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /home/node

# Install gradle, node, cli
RUN apt-get update && \
apt-get install -y curl unzip && \
apt-get install -y curl unzip git && \
curl -L https://services.gradle.org/distributions/gradle-5.4-bin.zip -o gradle-5.4-bin.zip && \
unzip gradle-5.4-bin.zip -d /home/node/ && \
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.maven-3.5.4
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /home/node

# Install maven, node, cli
RUN apt-get update && \
apt-get install -y curl && \
apt-get install -y curl git && \
curl -L -o apache-maven-3.5.4-bin.tar.gz https://www-eu.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz && \
tar -xvzf apache-maven-3.5.4-bin.tar.gz && \
rm -f apache-maven-3.5.4-bin.tar.gz && \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.npm_ruby
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV HOME /home/node

# Install snyk cli and clean up
RUN apt-get update && \
apt-get install -y jq && \
apt-get install -y jq git && \
npm install --global snyk snyk-to-html && \
apt-get autoremove -y && \
apt-get clean && \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.python-2
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /home/node
# Install Python utilities, node, Snyk CLI
RUN pip install pip pipenv virtualenv -U && \
apt-get update && \
apt-get install -y curl && \
apt-get install -y curl git && \
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
apt-get install -y nodejs jq && \
npm install --global snyk snyk-to-html && \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.python-3
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /home/node
# Install Python utilities, node, Snyk CLI
RUN pip install pip pipenv virtualenv -U && \
apt-get update && \
apt-get install -y curl && \
apt-get install -y curl git && \
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
apt-get install -y nodejs jq && \
npm install --global snyk snyk-to-html && \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.sbt-0.13.16
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /home/node

# Install sbt, node, cli
RUN apt-get update && \
apt-get install -y curl apt-transport-https && \
apt-get install -y curl apt-transport-https git && \
echo "deb https://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list && \
curl -L -o sbt.deb https://dl.bintray.com/sbt/debian/sbt-0.13.16.deb && \
dpkg -i sbt.deb && \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.sbt-1.0.4
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /home/node

# Install sbt, node, cli
RUN apt-get update && \
apt-get install -y curl apt-transport-https && \
apt-get install -y curl apt-transport-https git && \
echo "deb https://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list && \
curl -L -o sbt.deb https://dl.bintray.com/sbt/debian/sbt-1.0.4.deb && \
dpkg -i sbt.deb && \
Expand Down

0 comments on commit b89129a

Please sign in to comment.