Skip to content

Commit

Permalink
build(Docker): Remove explicit Cargo version
Browse files Browse the repository at this point in the history
Since Cargo package manager has no version requirement, always use the
version of Cargo available in Ubuntu.

Signed-off-by: Nicolas Nobelis <[email protected]>
  • Loading branch information
nnobelis authored and sschuberth committed Feb 29, 2024
1 parent f63e655 commit 38e0447
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile-legacy
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ ARG SCANCODE_VERSION
ENV \
# Package manager versions.
BOWER_VERSION=1.8.12 \
CARGO_VERSION=1.74.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04 \
COCOAPODS_VERSION=1.14.2 \
COMPOSER_VERSION=2.2.6-2ubuntu4 \
CONAN_VERSION=1.61.0 \
Expand Down Expand Up @@ -128,7 +127,7 @@ RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/
mercurial \
subversion \
# Install package managers (in versions known to work).
cargo=$CARGO_VERSION \
cargo \
composer=$COMPOSER_VERSION \
nodejs \
python-is-python3 \
Expand Down

0 comments on commit 38e0447

Please sign in to comment.