Skip to content

Commit 38e0447

Browse files
nnobelissschuberth
authored andcommitted
build(Docker): Remove explicit Cargo version
Since Cargo package manager has no version requirement, always use the version of Cargo available in Ubuntu. Signed-off-by: Nicolas Nobelis <[email protected]>
1 parent f63e655 commit 38e0447

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: Dockerfile-legacy

+1-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ ARG SCANCODE_VERSION
7272
ENV \
7373
# Package manager versions.
7474
BOWER_VERSION=1.8.12 \
75-
CARGO_VERSION=1.74.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04 \
7675
COCOAPODS_VERSION=1.14.2 \
7776
COMPOSER_VERSION=2.2.6-2ubuntu4 \
7877
CONAN_VERSION=1.61.0 \
@@ -128,7 +127,7 @@ RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/
128127
mercurial \
129128
subversion \
130129
# Install package managers (in versions known to work).
131-
cargo=$CARGO_VERSION \
130+
cargo \
132131
composer=$COMPOSER_VERSION \
133132
nodejs \
134133
python-is-python3 \

0 commit comments

Comments
 (0)