From 2d79a66cf81147175d400667b470a95bf93742ec Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Wed, 30 Sep 2020 18:31:45 +0200 Subject: [PATCH] Remove unneeded variables from Dockerfile --- Dockerfile | 80 ------------------------------------------------------ 1 file changed, 80 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba371954..7f7e8eae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -210,7 +210,6 @@ COPY --from=tflint /usr/local/bin/tflint /usr/bin/ COPY --from=terrascan /go/bin/terrascan /usr/bin/ RUN terrascan init - ###################### # Install protolint # ###################### @@ -323,85 +322,6 @@ ENV PATH="$PATH":"$GOROOT"/bin:"$GOPATH"/bin RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin RUN go get mvdan.cc/sh/v3/cmd/shfmt -########################################### -# Load GitHub Env Vars for GitHub Actions # -########################################### -ENV ACTIONS_RUNNER_DEBUG=${ACTIONS_RUNNER_DEBUG} \ - ANSIBLE_DIRECTORY=${ANSIBLE_DIRECTORY} \ - CSS_FILE_NAME=${CSS_FILE_NAME} \ - DEFAULT_BRANCH=${DEFAULT_BRANCH} \ - DISABLE_ERRORS=${DISABLE_ERRORS} \ - DOCKERFILE_HADOLINT_FILE_NAME=${DOCKERFILE_HADOLINT_FILE_NAME} \ - GITHUB_EVENT_PATH=${GITHUB_EVENT_PATH} \ - GITHUB_SHA=${GITHUB_SHA} \ - GITHUB_TOKEN=${GITHUB_TOKEN} \ - GITHUB_WORKSPACE=${GITHUB_WORKSPACE} \ - JAVASCRIPT_ES_CONFIG_FILE=${JAVASCRIPT_ES_CONFIG_FILE} \ - KUBERNETES_DIRECTORY=${KUBERNETES_DIRECTORY} \ - LINTER_RULES_PATH=${LINTER_RULES_PATH} \ - LOG_FILE=${LOG_FILE} \ - LOG_LEVEL=${LOG_LEVEL} \ - MULTI_STATUS=${MULTI_STATUS} \ - OUTPUT_DETAILS=${OUTPUT_DETAILS} \ - OUTPUT_FOLDER=${OUTPUT_FOLDER} \ - OUTPUT_FORMAT=${OUTPUT_FORMAT} \ - RUN_LOCAL=${RUN_LOCAL} \ - SNAKEMAKE_SNAKEFMT_CONFIG_FILE=${SNAKEMAKE_SNAKEFMT_CONFIG_FILE} \ - TEST_CASE_RUN=${TEST_CASE_RUN} \ - VALIDATE_ALL_CODEBASE=${VALIDATE_ALL_CODEBASE} \ - VALIDATE_ANSIBLE=${VALIDATE_ANSIBLE} \ - VALIDATE_ARM=${VALIDATE_ARM} \ - VALIDATE_BASH=${VALIDATE_BASH} \ - VALIDATE_BASH_EXEC=${VALIDATE_BASH_EXEC} \ - VALIDATE_CLOJURE=${VALIDATE_CLOJURE} \ - VALIDATE_CLOUDFORMATION=${VALIDATE_CLOUDFORMATION} \ - VALIDATE_COFFEE=${VALIDATE_COFFEE} \ - VALIDATE_CSHARP=${VALIDATE_CSHARP} \ - VALIDATE_CSS=${VALIDATE_CSS} \ - VALIDATE_DART=${VALIDATE_DART} \ - VALIDATE_DOCKERFILE=${VALIDATE_DOCKERFILE} \ - VALIDATE_DOCKERFILE_HADOLINT=${VALIDATE_DOCKERFILE_HADOLINT} \ - VALIDATE_EDITORCONFIG=${VALIDATE_EDITORCONFIG} \ - VALIDATE_ENV=${VALIDATE_ENV} \ - VALIDATE_GO=${VALIDATE_GO} \ - VALIDATE_HTML=${VALIDATE_HTML} \ - VALIDATE_JAVA=${VALIDATE_JAVA} \ - VALIDATE_JAVASCRIPT_ES=${VALIDATE_JAVASCRIPT_ES} \ - VALIDATE_JAVASCRIPT_STANDARD=${VALIDATE_JAVASCRIPT_STANDARD} \ - VALIDATE_JSON=${VALIDATE_JSON} \ - VALIDATE_KUBERNETES_KUBEVAL=${VALIDATE_KUBERNETES_KUBEVAL} \ - VALIDATE_KOTLIN=${VALIDATE_KOTLIN} \ - VALIDATE_LATEX=${VALIDATE_LATEX} \ - VALIDATE_LUA=${VALIDATE_LUA} \ - VALIDATE_MD=${VALIDATE_MD} \ - VALIDATE_OPENAPI=${VALIDATE_OPENAPI} \ - VALIDATE_PERL=${VALIDATE_PERL} \ - VALIDATE_PHP=${VALIDATE_PHP} \ - VALIDATE_PHP_BUILTIN=${VALIDATE_PHP_BUILTIN} \ - VALIDATE_PHP_PHPCS=${VALIDATE_PHP_PHPCS} \ - VALIDATE_PHP_PHPSTAN=${VALIDATE_PHP_PHPSTAN} \ - VALIDATE_PHP_PSALM=${VALIDATE_PHP_PSALM} \ - VALIDATE_POWERSHELL=${VALIDATE_POWERSHELL} \ - VALIDATE_PROTOBUF=${VALIDATE_PROTOBUF} \ - VALIDATE_PYTHON=${VALIDATE_PYTHON} \ - VALIDATE_PYTHON_BLACK=${VALIDATE_PYTHON_BLACK} \ - VALIDATE_PYTHON_FLAKE8=${VALIDATE_PYTHON_FLAKE8} \ - VALIDATE_PYTHON_PYLINT=${VALIDATE_PYTHON_PYLINT} \ - VALIDATE_R=${VALIDATE_R} \ - VALIDATE_RAKU=${VALIDATE_RAKU} \ - VALIDATE_RUBY=${VALIDATE_RUBY} \ - VALIDATE_SHELL_SHFMT=${VALIDATE_SHELL_SHFMT} \ - VALIDATE_SNAKEMAKE_LINT=${VALIDATE_SNAKEMAKE_LINT} \ - VALIDATE_SNAKEMAKE_SNAKEFMT=${VALIDATE_SNAKEMAKE_SNAKEFMT} \ - VALIDATE_STATES=${VALIDATE_STATES} \ - VALIDATE_SQL=${VALIDATE_SQL} \ - VALIDATE_TERRAFORM=${VALIDATE_TERRAFORM} \ - VALIDATE_TERRAFORM_TERRASCAN=${VALIDATE_TERRAFORM_TERRASCAN} \ - VALIDATE_TYPESCRIPT_ES=${VALIDATE_TYPESCRIPT_ES} \ - VALIDATE_TYPESCRIPT_STANDARD=${VALIDATE_TYPESCRIPT_STANDARD} \ - VALIDATE_XML=${VALIDATE_XML} \ - VALIDATE_YAML=${VALIDATE_YAML} - ############################# # Copy scripts to container # #############################