Dockerdev: Improve docker caching layers (#85186)

This commit is contained in:
Olliver Schinagl 2023-04-13 00:46:54 +02:00 committed by GitHub
parent 2c8b704a6d
commit 2d1ae6660b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,11 +4,12 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Uninstall pre-installed formatting and linting tools # Uninstall pre-installed formatting and linting tools
# They would conflict with our pinned versions # They would conflict with our pinned versions
RUN pipx uninstall black RUN \
RUN pipx uninstall pydocstyle pipx uninstall black \
RUN pipx uninstall pycodestyle && pipx uninstall pydocstyle \
RUN pipx uninstall mypy && pipx uninstall pycodestyle \
RUN pipx uninstall pylint && pipx uninstall mypy \
&& pipx uninstall pylint
RUN \ RUN \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \