Skip to content

Commit

Permalink
Add wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
waterfoul committed Jul 20, 2023
1 parent 43d9378 commit c03af4e
Show file tree
Hide file tree
Showing 41 changed files with 47 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .automation/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/-build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/ci_light/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions flavors/cupcake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/dotnetweb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
6 changes: 3 additions & 3 deletions flavors/rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/salesforce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/security/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/swift/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion flavors/terraform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion linters/ansible_ansible_lint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion linters/c_cpplint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion linters/cloudformation_cfn_lint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion linters/cpp_cpplint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion linters/html_djlint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion linters/python_bandit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion linters/python_black/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion linters/python_flake8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion linters/python_isort/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion linters/python_mypy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion linters/python_pylint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion linters/python_pyright/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion linters/repository_checkov/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion linters/repository_semgrep/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading

0 comments on commit c03af4e

Please sign in to comment.