From c03af4ef83d87ed27adeb34ccb761b198e82c025 Mon Sep 17 00:00:00 2001 From: Aaron Aichlmayr Date: Thu, 20 Jul 2023 10:53:50 -0500 Subject: [PATCH] Add wheel --- .automation/build.py | 2 +- .github/workflows/-build-docker.yml | 1 + Dockerfile | 6 +++--- flavors/ci_light/Dockerfile | 2 +- flavors/cupcake/Dockerfile | 6 +++--- flavors/documentation/Dockerfile | 2 +- flavors/dotnet/Dockerfile | 2 +- flavors/dotnetweb/Dockerfile | 2 +- flavors/go/Dockerfile | 2 +- flavors/java/Dockerfile | 2 +- flavors/javascript/Dockerfile | 2 +- flavors/php/Dockerfile | 2 +- flavors/python/Dockerfile | 2 +- flavors/ruby/Dockerfile | 2 +- flavors/rust/Dockerfile | 6 +++--- flavors/salesforce/Dockerfile | 2 +- flavors/security/Dockerfile | 2 +- flavors/swift/Dockerfile | 2 +- flavors/terraform/Dockerfile | 2 +- linters/ansible_ansible_lint/Dockerfile | 2 +- linters/c_cpplint/Dockerfile | 2 +- linters/cloudformation_cfn_lint/Dockerfile | 2 +- linters/cpp_cpplint/Dockerfile | 2 +- linters/html_djlint/Dockerfile | 2 +- linters/python_bandit/Dockerfile | 2 +- linters/python_black/Dockerfile | 2 +- linters/python_flake8/Dockerfile | 2 +- linters/python_isort/Dockerfile | 2 +- linters/python_mypy/Dockerfile | 2 +- linters/python_pylint/Dockerfile | 2 +- linters/python_pyright/Dockerfile | 2 +- linters/repository_checkov/Dockerfile | 2 +- linters/repository_semgrep/Dockerfile | 2 +- linters/rst_rst_lint/Dockerfile | 2 +- linters/rst_rstcheck/Dockerfile | 2 +- linters/rst_rstfmt/Dockerfile | 2 +- linters/snakemake_lint/Dockerfile | 2 +- linters/snakemake_snakefmt/Dockerfile | 2 +- linters/spell_proselint/Dockerfile | 2 +- linters/sql_sqlfluff/Dockerfile | 2 +- linters/yaml_yamllint/Dockerfile | 2 +- 41 files changed, 47 insertions(+), 46 deletions(-) diff --git a/.automation/build.py b/.automation/build.py index a63495b5015..841735ddf59 100644 --- a/.automation/build.py +++ b/.automation/build.py @@ -646,7 +646,7 @@ def build_dockerfile( pipenv_download_command = ( "RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \\\n" " mkdir /download \\\n" - " && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \\\n" + " && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \\\n" ) pipenv_install_command = "" pipenv_path_command = 'ENV PATH="${PATH}"' diff --git a/.github/workflows/-build-docker.yml b/.github/workflows/-build-docker.yml index c8cc5945156..cd7d27acbe1 100644 --- a/.github/workflows/-build-docker.yml +++ b/.github/workflows/-build-docker.yml @@ -86,6 +86,7 @@ jobs: - name: Build Image uses: docker/build-push-action@v4 + timeout-minutes: 360 # Temp increase to see how long it takes with: file: ${{ inputs.dockerfile }} platforms: linux/amd64,linux/arm64 diff --git a/Dockerfile b/Dockerfile index d2585515a66..1edc3674489 100644 --- a/Dockerfile +++ b/Dockerfile @@ -100,12 +100,12 @@ RUN rustup-init -y --target $([[ "${TARGETARCH}" == "amd64" ]] && echo "x86_64-u RUN --mount=type=cache,id=cargo-${TARGETARCH},sharing=locked,target=/cargo/.cargo/registry/,uid=63425 \ . /cargo/.cargo/env \ - && cargo binstall --no-confirm --no-symlinks shellcheck-sarif sarif-fmt --root /tmp --target $([[ "${TARGETARCH}" == "amd64" ]] && echo "x86_64-unknown-linux-musl" || echo "aarch64-unknown-linux-musl") + && cargo binstall --no-confirm --no-symlinks sarif-fmt shellcheck-sarif --root /tmp --target $([[ "${TARGETARCH}" == "amd64" ]] && echo "x86_64-unknown-linux-musl" || echo "aarch64-unknown-linux-musl") FROM scratch AS cargo COPY --link --from=cargo-build /tmp/bin/* /bin/ -RUN ["/bin/shellcheck-sarif", "--help"] RUN ["/bin/sarif-fmt", "--help"] +RUN ["/bin/shellcheck-sarif", "--help"] #FROM__END @@ -292,7 +292,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ cpplint \ diff --git a/flavors/ci_light/Dockerfile b/flavors/ci_light/Dockerfile index fe898adfd8f..c0d0486ecc2 100644 --- a/flavors/ci_light/Dockerfile +++ b/flavors/ci_light/Dockerfile @@ -128,7 +128,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ yamllint diff --git a/flavors/cupcake/Dockerfile b/flavors/cupcake/Dockerfile index ab954a99a22..2efa67a95af 100644 --- a/flavors/cupcake/Dockerfile +++ b/flavors/cupcake/Dockerfile @@ -87,12 +87,12 @@ RUN rustup-init -y --target $([[ "${TARGETARCH}" == "amd64" ]] && echo "x86_64-u RUN --mount=type=cache,id=cargo-${TARGETARCH},sharing=locked,target=/cargo/.cargo/registry/,uid=63425 \ . /cargo/.cargo/env \ - && cargo binstall --no-confirm --no-symlinks shellcheck-sarif sarif-fmt --root /tmp --target $([[ "${TARGETARCH}" == "amd64" ]] && echo "x86_64-unknown-linux-musl" || echo "aarch64-unknown-linux-musl") + && cargo binstall --no-confirm --no-symlinks sarif-fmt shellcheck-sarif --root /tmp --target $([[ "${TARGETARCH}" == "amd64" ]] && echo "x86_64-unknown-linux-musl" || echo "aarch64-unknown-linux-musl") FROM scratch AS cargo COPY --link --from=cargo-build /tmp/bin/* /bin/ -RUN ["/bin/shellcheck-sarif", "--help"] RUN ["/bin/sarif-fmt", "--help"] +RUN ["/bin/shellcheck-sarif", "--help"] #FROM__END @@ -261,7 +261,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ cpplint \ diff --git a/flavors/documentation/Dockerfile b/flavors/documentation/Dockerfile index 7482202775d..23b7fe8af4a 100644 --- a/flavors/documentation/Dockerfile +++ b/flavors/documentation/Dockerfile @@ -169,7 +169,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ djlint \ diff --git a/flavors/dotnet/Dockerfile b/flavors/dotnet/Dockerfile index fd784ee9394..6023b6d8d08 100644 --- a/flavors/dotnet/Dockerfile +++ b/flavors/dotnet/Dockerfile @@ -172,7 +172,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ cpplint \ diff --git a/flavors/dotnetweb/Dockerfile b/flavors/dotnetweb/Dockerfile index 563eac0574d..9ad96892ce1 100644 --- a/flavors/dotnetweb/Dockerfile +++ b/flavors/dotnetweb/Dockerfile @@ -192,7 +192,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ cpplint \ diff --git a/flavors/go/Dockerfile b/flavors/go/Dockerfile index 6bf57b4a47f..fb983ac3811 100644 --- a/flavors/go/Dockerfile +++ b/flavors/go/Dockerfile @@ -184,7 +184,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ djlint \ diff --git a/flavors/java/Dockerfile b/flavors/java/Dockerfile index f6d8c26c827..80c66dd063e 100644 --- a/flavors/java/Dockerfile +++ b/flavors/java/Dockerfile @@ -169,7 +169,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ djlint \ diff --git a/flavors/javascript/Dockerfile b/flavors/javascript/Dockerfile index 19823b56f79..fa173eb1601 100644 --- a/flavors/javascript/Dockerfile +++ b/flavors/javascript/Dockerfile @@ -189,7 +189,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ djlint \ diff --git a/flavors/php/Dockerfile b/flavors/php/Dockerfile index c249094b653..057fae74618 100644 --- a/flavors/php/Dockerfile +++ b/flavors/php/Dockerfile @@ -169,7 +169,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ djlint \ diff --git a/flavors/python/Dockerfile b/flavors/python/Dockerfile index 1a1a021c052..95e83eed911 100644 --- a/flavors/python/Dockerfile +++ b/flavors/python/Dockerfile @@ -179,7 +179,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ djlint \ diff --git a/flavors/ruby/Dockerfile b/flavors/ruby/Dockerfile index d1b723e67e3..90ab3e7a23e 100644 --- a/flavors/ruby/Dockerfile +++ b/flavors/ruby/Dockerfile @@ -167,7 +167,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ djlint \ diff --git a/flavors/rust/Dockerfile b/flavors/rust/Dockerfile index 56b6399a47f..362a3382efd 100644 --- a/flavors/rust/Dockerfile +++ b/flavors/rust/Dockerfile @@ -58,12 +58,12 @@ RUN rustup-init -y --target $([[ "${TARGETARCH}" == "amd64" ]] && echo "x86_64-u RUN --mount=type=cache,id=cargo-${TARGETARCH},sharing=locked,target=/cargo/.cargo/registry/,uid=63425 \ . /cargo/.cargo/env \ - && cargo binstall --no-confirm --no-symlinks shellcheck-sarif sarif-fmt --root /tmp --target $([[ "${TARGETARCH}" == "amd64" ]] && echo "x86_64-unknown-linux-musl" || echo "aarch64-unknown-linux-musl") + && cargo binstall --no-confirm --no-symlinks sarif-fmt shellcheck-sarif --root /tmp --target $([[ "${TARGETARCH}" == "amd64" ]] && echo "x86_64-unknown-linux-musl" || echo "aarch64-unknown-linux-musl") FROM scratch AS cargo COPY --link --from=cargo-build /tmp/bin/* /bin/ -RUN ["/bin/shellcheck-sarif", "--help"] RUN ["/bin/sarif-fmt", "--help"] +RUN ["/bin/shellcheck-sarif", "--help"] #FROM__END @@ -205,7 +205,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ djlint \ diff --git a/flavors/salesforce/Dockerfile b/flavors/salesforce/Dockerfile index 433637b2c48..1e97228a2fb 100644 --- a/flavors/salesforce/Dockerfile +++ b/flavors/salesforce/Dockerfile @@ -170,7 +170,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ djlint \ diff --git a/flavors/security/Dockerfile b/flavors/security/Dockerfile index 15f5923011c..42bb88d7b09 100644 --- a/flavors/security/Dockerfile +++ b/flavors/security/Dockerfile @@ -144,7 +144,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ cfn-lint \ diff --git a/flavors/swift/Dockerfile b/flavors/swift/Dockerfile index 5f082127b20..341f001b5a0 100644 --- a/flavors/swift/Dockerfile +++ b/flavors/swift/Dockerfile @@ -167,7 +167,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ djlint \ diff --git a/flavors/terraform/Dockerfile b/flavors/terraform/Dockerfile index 448715aec4b..4ea1f59e8c4 100644 --- a/flavors/terraform/Dockerfile +++ b/flavors/terraform/Dockerfile @@ -179,7 +179,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint \ djlint \ diff --git a/linters/ansible_ansible_lint/Dockerfile b/linters/ansible_ansible_lint/Dockerfile index 27b6a7857f9..0261eb7a782 100644 --- a/linters/ansible_ansible_lint/Dockerfile +++ b/linters/ansible_ansible_lint/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ ansible-lint diff --git a/linters/c_cpplint/Dockerfile b/linters/c_cpplint/Dockerfile index 2ffb9c190b2..c0dec231a4e 100644 --- a/linters/c_cpplint/Dockerfile +++ b/linters/c_cpplint/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ cpplint diff --git a/linters/cloudformation_cfn_lint/Dockerfile b/linters/cloudformation_cfn_lint/Dockerfile index 7abdfc16c7d..d23fd9ed079 100644 --- a/linters/cloudformation_cfn_lint/Dockerfile +++ b/linters/cloudformation_cfn_lint/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ cfn-lint diff --git a/linters/cpp_cpplint/Dockerfile b/linters/cpp_cpplint/Dockerfile index 22c55bd7faf..478f5928f89 100644 --- a/linters/cpp_cpplint/Dockerfile +++ b/linters/cpp_cpplint/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ cpplint diff --git a/linters/html_djlint/Dockerfile b/linters/html_djlint/Dockerfile index 5d4e9e971f3..a4cf4f436d0 100644 --- a/linters/html_djlint/Dockerfile +++ b/linters/html_djlint/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ djlint diff --git a/linters/python_bandit/Dockerfile b/linters/python_bandit/Dockerfile index 2751147d20a..7ff7c1a886d 100644 --- a/linters/python_bandit/Dockerfile +++ b/linters/python_bandit/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ bandit \ bandit_sarif_formatter \ diff --git a/linters/python_black/Dockerfile b/linters/python_black/Dockerfile index a5ba44a00f3..1ac3c84a6f6 100644 --- a/linters/python_black/Dockerfile +++ b/linters/python_black/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ black diff --git a/linters/python_flake8/Dockerfile b/linters/python_flake8/Dockerfile index 0ff0c1bb76c..a87e5998bb2 100644 --- a/linters/python_flake8/Dockerfile +++ b/linters/python_flake8/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ flake8 diff --git a/linters/python_isort/Dockerfile b/linters/python_isort/Dockerfile index 290d14c07ed..a9a9f70db2c 100644 --- a/linters/python_isort/Dockerfile +++ b/linters/python_isort/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ isort \ black diff --git a/linters/python_mypy/Dockerfile b/linters/python_mypy/Dockerfile index bc045fbcadd..8c06ec54f7d 100644 --- a/linters/python_mypy/Dockerfile +++ b/linters/python_mypy/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ mypy diff --git a/linters/python_pylint/Dockerfile b/linters/python_pylint/Dockerfile index 995905dc29e..ce8d335c069 100644 --- a/linters/python_pylint/Dockerfile +++ b/linters/python_pylint/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ pylint \ typing-extensions diff --git a/linters/python_pyright/Dockerfile b/linters/python_pyright/Dockerfile index 7fc49bef591..3a4ef247f98 100644 --- a/linters/python_pyright/Dockerfile +++ b/linters/python_pyright/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ pyright diff --git a/linters/repository_checkov/Dockerfile b/linters/repository_checkov/Dockerfile index 92f7be0df4f..8748e27267e 100644 --- a/linters/repository_checkov/Dockerfile +++ b/linters/repository_checkov/Dockerfile @@ -86,7 +86,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ packaging \ checkov diff --git a/linters/repository_semgrep/Dockerfile b/linters/repository_semgrep/Dockerfile index 4506620d965..53b6c8d0ef2 100644 --- a/linters/repository_semgrep/Dockerfile +++ b/linters/repository_semgrep/Dockerfile @@ -86,7 +86,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ semgrep diff --git a/linters/rst_rst_lint/Dockerfile b/linters/rst_rst_lint/Dockerfile index 41fda829a2c..03eac6b130d 100644 --- a/linters/rst_rst_lint/Dockerfile +++ b/linters/rst_rst_lint/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ restructuredtext_lint diff --git a/linters/rst_rstcheck/Dockerfile b/linters/rst_rstcheck/Dockerfile index baaee166b86..106879d2ffe 100644 --- a/linters/rst_rstcheck/Dockerfile +++ b/linters/rst_rstcheck/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ rstcheck diff --git a/linters/rst_rstfmt/Dockerfile b/linters/rst_rstfmt/Dockerfile index e3c020709d4..01460883b8d 100644 --- a/linters/rst_rstfmt/Dockerfile +++ b/linters/rst_rstfmt/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ rstfmt diff --git a/linters/snakemake_lint/Dockerfile b/linters/snakemake_lint/Dockerfile index 1320a966dbb..dad7ff39629 100644 --- a/linters/snakemake_lint/Dockerfile +++ b/linters/snakemake_lint/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ snakemake diff --git a/linters/snakemake_snakefmt/Dockerfile b/linters/snakemake_snakefmt/Dockerfile index 77b6d31796b..05b4c7cce11 100644 --- a/linters/snakemake_snakefmt/Dockerfile +++ b/linters/snakemake_snakefmt/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ snakefmt diff --git a/linters/spell_proselint/Dockerfile b/linters/spell_proselint/Dockerfile index 8dd5707ca42..db74a1cf4e9 100644 --- a/linters/spell_proselint/Dockerfile +++ b/linters/spell_proselint/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ proselint diff --git a/linters/sql_sqlfluff/Dockerfile b/linters/sql_sqlfluff/Dockerfile index 9144b2eb010..41a5e3b6569 100644 --- a/linters/sql_sqlfluff/Dockerfile +++ b/linters/sql_sqlfluff/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ sqlfluff diff --git a/linters/yaml_yamllint/Dockerfile b/linters/yaml_yamllint/Dockerfile index 1573250d402..3e8581ad91f 100644 --- a/linters/yaml_yamllint/Dockerfile +++ b/linters/yaml_yamllint/Dockerfile @@ -84,7 +84,7 @@ RUN apk add --update --no-cache \ #PIPVENV_DOWNLOAD__START RUN --mount=type=cache,id=pip,sharing=locked,target=/var/cache/pip,uid=0 \ mkdir /download \ - && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv \ + && PYTHONDONTWRITEBYTECODE=1 pip3 --disable-pip-version-check install --cache-dir=/var/cache/pip --upgrade pip crossenv wheel \ && pip download --cache-dir=/var/cache/pip --dest "/download" \ yamllint