-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit 48da04e.
- Loading branch information
Showing
19 changed files
with
756 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM node:14-slim | ||
|
||
MAINTAINER Snyk Ltd | ||
|
||
# Install Docker | ||
RUN apt-get update && \ | ||
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 && \ | ||
npm install --global snyk snyk-to-html && \ | ||
apt-get autoremove -y && \ | ||
apt-get clean && \ | ||
chmod -R a+wrx /home/node | ||
|
||
WORKDIR /home/node | ||
ENV HOME /home/node | ||
|
||
# The path at which the project is mounted (-v runtime arg) | ||
ENV PROJECT_PATH /project | ||
|
||
COPY docker-entrypoint.sh . | ||
|
||
ENV SNYK_INTEGRATION_NAME DOCKER_SNYK_CLI | ||
ENV SNYK_INTEGRATION_VERSION docker | ||
|
||
ENTRYPOINT ["./docker-entrypoint.sh"] | ||
|
||
# Default command is `snyk test` | ||
# Override with `docker run ... snyk/snyk-cli <command> <args>` | ||
CMD ["test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
FROM openjdk:8-jdk-slim | ||
|
||
MAINTAINER Snyk Ltd | ||
|
||
RUN mkdir /home/node | ||
WORKDIR /home/node | ||
|
||
# Install gradle, node, cli | ||
RUN apt-get update && \ | ||
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_14.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
npm install --global snyk snyk-to-html && \ | ||
apt-get autoremove -y && \ | ||
apt-get clean && \ | ||
chmod -R a+wrx /home/node | ||
|
||
ENV HOME /home/node | ||
ENV M2 /home/node/.m2 | ||
ENV GRADLE_HOME=/home/node/gradle-2.8 | ||
ENV PATH=$PATH:$GRADLE_HOME/bin | ||
|
||
# The path at which the project is mounted (-v runtime arg) | ||
ENV PROJECT_PATH /project | ||
|
||
COPY docker-entrypoint.sh . | ||
|
||
ENV SNYK_INTEGRATION_NAME DOCKER_SNYK_CLI | ||
ENV SNYK_INTEGRATION_VERSION gradle-2.8 | ||
|
||
ENTRYPOINT ["./docker-entrypoint.sh"] | ||
|
||
# Default command is `snyk test` | ||
# Override with `docker run ... snyk/snyk-cli <command> <args>` | ||
CMD ["test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
FROM openjdk:8-jdk-slim | ||
|
||
MAINTAINER Snyk Ltd | ||
|
||
RUN mkdir /home/node | ||
WORKDIR /home/node | ||
|
||
# Install gradle, node, cli | ||
RUN apt-get update && \ | ||
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_14.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
npm install --global snyk snyk-to-html && \ | ||
apt-get autoremove -y && \ | ||
apt-get clean && \ | ||
chmod -R a+wrx /home/node | ||
|
||
ENV HOME /home/node | ||
ENV M2 /home/node/.m2 | ||
ENV GRADLE_HOME=/home/node/gradle-4.4 | ||
ENV PATH=$PATH:$GRADLE_HOME/bin | ||
|
||
# The path at which the project is mounted (-v runtime arg) | ||
ENV PROJECT_PATH /project | ||
|
||
COPY docker-entrypoint.sh . | ||
|
||
ENV SNYK_INTEGRATION_NAME DOCKER_SNYK_CLI | ||
ENV SNYK_INTEGRATION_VERSION gradle-4.4 | ||
|
||
ENTRYPOINT ["./docker-entrypoint.sh"] | ||
|
||
# Default command is `snyk test` | ||
# Override with `docker run ... snyk/snyk-cli <command> <args>` | ||
CMD ["test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
FROM openjdk:8-jdk-slim | ||
|
||
MAINTAINER Snyk Ltd | ||
|
||
RUN mkdir /home/node | ||
WORKDIR /home/node | ||
|
||
# Install gradle, node, cli | ||
RUN apt-get update && \ | ||
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_14.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
npm install --global snyk snyk-to-html && \ | ||
apt-get autoremove -y && \ | ||
apt-get clean && \ | ||
chmod -R a+wrx /home/node | ||
|
||
ENV HOME /home/node | ||
ENV M2 /home/node/.m2 | ||
ENV GRADLE_HOME=/home/node/gradle-5.4 | ||
ENV PATH=$PATH:$GRADLE_HOME/bin | ||
|
||
# The path at which the project is mounted (-v runtime arg) | ||
ENV PROJECT_PATH /project | ||
|
||
COPY docker-entrypoint.sh . | ||
|
||
ENV SNYK_INTEGRATION_NAME DOCKER_SNYK_CLI | ||
ENV SNYK_INTEGRATION_VERSION gradle-5.4 | ||
|
||
ENTRYPOINT ["./docker-entrypoint.sh"] | ||
|
||
# Default command is `snyk test` | ||
# Override with `docker run ... snyk/snyk-cli <command> <args>` | ||
CMD ["test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
FROM openjdk:11-jdk-slim | ||
|
||
MAINTAINER Snyk Ltd | ||
|
||
RUN mkdir /home/node | ||
WORKDIR /home/node | ||
|
||
# Install gradle, node, cli | ||
RUN apt-get update && \ | ||
apt-get install -y curl unzip && \ | ||
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_14.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
node -v && \ | ||
npm -v && \ | ||
npm install --global snyk snyk-to-html && \ | ||
apt-get autoremove -y && \ | ||
apt-get clean && \ | ||
chmod -R a+wrx /home/node | ||
|
||
ENV HOME /home/node | ||
ENV M2 /home/node/.m2 | ||
ENV GRADLE_HOME=/home/node/gradle-5.4 | ||
ENV PATH=$PATH:$GRADLE_HOME/bin | ||
|
||
# The path at which the project is mounted (-v runtime arg) | ||
ENV PROJECT_PATH /project | ||
|
||
COPY docker-entrypoint.sh . | ||
|
||
ENTRYPOINT ["./docker-entrypoint.sh"] | ||
|
||
# Default command is `snyk test` | ||
# Override with `docker run ... snyk/snyk-cli <command> <args>` | ||
CMD ["test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
FROM openjdk:8-jdk-slim | ||
|
||
MAINTAINER Snyk Ltd | ||
|
||
RUN mkdir /home/node | ||
WORKDIR /home/node | ||
|
||
# Install maven, node, cli | ||
RUN apt-get update && \ | ||
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 && \ | ||
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
npm install --global snyk snyk-to-html && \ | ||
apt-get autoremove -y && \ | ||
apt-get clean && \ | ||
chmod -R a+wrx /home/node | ||
|
||
ENV HOME /home/node | ||
ENV M2 /home/node/.m2 | ||
ENV PATH /home/node/apache-maven-3.5.4/bin:$PATH | ||
|
||
# The path at which the project is mounted (-v runtime arg) | ||
ENV PROJECT_PATH /project | ||
|
||
ADD docker-entrypoint.sh . | ||
|
||
ENV SNYK_INTEGRATION_NAME DOCKER_SNYK_CLI | ||
ENV SNYK_INTEGRATION_VERSION maven-3.5.4 | ||
|
||
ENTRYPOINT ["./docker-entrypoint.sh"] | ||
|
||
# Default command is `snyk test` | ||
# Override with `docker run ... snyk/snyk-cli <command> <args>` | ||
CMD ["test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
FROM openjdk:8-jdk-slim | ||
|
||
MAINTAINER Snyk Ltd | ||
|
||
RUN mkdir /home/node | ||
WORKDIR /home/node | ||
|
||
# Install maven, node, cli | ||
RUN apt-get update && \ | ||
apt-get install -y curl git && \ | ||
curl -L -o apache-maven-3.6.3-bin.tar.gz https://www-eu.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz && \ | ||
tar -xvzf apache-maven-3.6.3-bin.tar.gz && \ | ||
rm -f apache-maven-3.6.3-bin.tar.gz && \ | ||
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
npm install --global snyk snyk-to-html && \ | ||
apt-get autoremove -y && \ | ||
apt-get clean && \ | ||
chmod -R a+wrx /home/node | ||
|
||
ENV HOME /home/node | ||
ENV M2 /home/node/.m2 | ||
ENV PATH /home/node/apache-maven-3.6.3/bin:$PATH | ||
|
||
# The path at which the project is mounted (-v runtime arg) | ||
ENV PROJECT_PATH /project | ||
|
||
ADD docker-entrypoint.sh . | ||
|
||
ENV SNYK_INTEGRATION_NAME DOCKER_SNYK_CLI | ||
ENV SNYK_INTEGRATION_VERSION maven-3.6.3 | ||
|
||
ENTRYPOINT ["./docker-entrypoint.sh"] | ||
|
||
# Default command is `snyk test` | ||
# Override with `docker run ... snyk/snyk-cli <command> <args>` | ||
CMD ["test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
FROM openjdk:11-jdk-slim | ||
|
||
MAINTAINER Snyk Ltd | ||
|
||
RUN mkdir /home/node | ||
WORKDIR /home/node | ||
|
||
# Install maven, node, cli | ||
RUN apt-get update && \ | ||
apt-get install -y curl git && \ | ||
curl -L -o apache-maven-3.6.3-bin.tar.gz https://www-eu.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz && \ | ||
tar -xvzf apache-maven-3.6.3-bin.tar.gz && \ | ||
rm -f apache-maven-3.6.3-bin.tar.gz && \ | ||
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
npm install --global snyk snyk-to-html && \ | ||
apt-get autoremove -y && \ | ||
apt-get clean && \ | ||
chmod -R a+wrx /home/node | ||
|
||
ENV HOME /home/node | ||
ENV M2 /home/node/.m2 | ||
ENV PATH /home/node/apache-maven-3.6.3/bin:$PATH | ||
|
||
# The path at which the project is mounted (-v runtime arg) | ||
ENV PROJECT_PATH /project | ||
|
||
ADD docker-entrypoint.sh . | ||
|
||
ENV SNYK_INTEGRATION_NAME DOCKER_SNYK_CLI | ||
ENV SNYK_INTEGRATION_VERSION maven-3.6.3_java11 | ||
|
||
ENTRYPOINT ["./docker-entrypoint.sh"] | ||
|
||
# Default command is `snyk test` | ||
# Override with `docker run ... snyk/snyk-cli <command> <args>` | ||
CMD ["test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM node:14-slim | ||
|
||
MAINTAINER Snyk Ltd | ||
|
||
WORKDIR /home/node | ||
ENV HOME /home/node | ||
|
||
# Install snyk cli and clean up | ||
RUN apt-get update && \ | ||
apt-get install -y git && \ | ||
npm install --global snyk snyk-to-html && \ | ||
apt-get autoremove -y && \ | ||
apt-get clean && \ | ||
chmod -R a+wrx /home/node | ||
|
||
# The path at which the project is mounted (-v runtime arg) | ||
ENV PROJECT_PATH /project | ||
|
||
COPY docker-entrypoint.sh . | ||
|
||
ENV SNYK_INTEGRATION_NAME DOCKER_SNYK_CLI | ||
# This image is currently being used for nuget, composer and ruby | ||
# If we see a tons of usage, we can split the analytics | ||
ENV SNYK_INTEGRATION_VERSION npm | ||
|
||
ENTRYPOINT ["./docker-entrypoint.sh"] | ||
|
||
# Default command is `snyk test` | ||
# Override with `docker run ... snyk/snyk-cli <command> <args>` | ||
CMD ["test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM python:2.7-slim | ||
|
||
MAINTAINER Snyk Ltd | ||
|
||
RUN mkdir /home/node | ||
WORKDIR /home/node | ||
|
||
# Install Python utilities, node, Snyk CLI | ||
RUN pip install pip pipenv==2021.5.29 virtualenv -U && \ | ||
apt-get update && \ | ||
apt-get install -y build-essential curl git && \ | ||
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
npm install --global snyk snyk-to-html && \ | ||
apt-get autoremove -y && \ | ||
apt-get clean && \ | ||
chmod -R a+wrx /home/node | ||
|
||
ENV HOME /home/node | ||
|
||
# The path at which the project is mounted (-v runtime arg) | ||
ENV PROJECT_PATH /project | ||
|
||
COPY docker-python-entrypoint.sh . | ||
COPY docker-entrypoint.sh . | ||
|
||
ENV SNYK_INTEGRATION_NAME DOCKER_SNYK_CLI | ||
ENV SNYK_INTEGRATION_VERSION python-2 | ||
|
||
ENTRYPOINT ["./docker-python-entrypoint.sh"] | ||
|
||
# Default command is `snyk test` | ||
# Override with `docker run ... snyk/snyk-cli <command> <args>` | ||
CMD ["test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM python:3.7-slim | ||
|
||
MAINTAINER Snyk Ltd | ||
|
||
RUN mkdir /home/node | ||
WORKDIR /home/node | ||
|
||
# Install Python utilities, node, Snyk CLI | ||
RUN pip install pip pipenv==2021.5.29 virtualenv -U && \ | ||
apt-get update && \ | ||
apt-get install -y build-essential curl git && \ | ||
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
npm install --global snyk snyk-to-html && \ | ||
apt-get autoremove -y && \ | ||
apt-get clean && \ | ||
chmod -R a+wrx /home/node | ||
|
||
ENV HOME /home/node | ||
|
||
# The path at which the project is mounted (-v runtime arg) | ||
ENV PROJECT_PATH /project | ||
|
||
COPY docker-python-entrypoint.sh . | ||
COPY docker-entrypoint.sh . | ||
|
||
ENV SNYK_INTEGRATION_NAME DOCKER_SNYK_CLI | ||
ENV SNYK_INTEGRATION_VERSION python-3 | ||
|
||
ENTRYPOINT ["./docker-python-entrypoint.sh"] | ||
|
||
# Default command is `snyk test` | ||
# Override with `docker run ... snyk/snyk-cli <command> <args>` | ||
CMD ["test"] |
Oops, something went wrong.