Skip to content

Commit

Permalink
fix(docker): Remove linting dependencies (#1471)
Browse files Browse the repository at this point in the history
The Docker image is used for release builds with an older stable
compiler, which doesn't allow us to build the linting dependencies.
However, for the current release, we can entirely disable it, since the
linter is optional for the Wasm target.
  • Loading branch information
jubnzv authored Jan 25, 2024
1 parent 55ea917 commit 788beae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ RUN apt-get -y update && apt-get -y install gcc=${GCC_VERSION} g++=${G_VERSION}
fi \
&& echo "Executing ${COMMAND}" \
&& eval "${COMMAND}" \
&& echo "Installing linting dependencies" \
&& cargo install cargo-dylint dylint-link \
# Cleanup after `cargo install`
&& rm -rf ${CARGO_HOME}/"registry" ${CARGO_HOME}/"git" /root/.cache/sccache \
# apt clean up
Expand Down

0 comments on commit 788beae

Please sign in to comment.