Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Smithy Rust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Public Repositories
Smithy Rust
Commits
46984ab9
Unverified
Commit
46984ab9
authored
3 years ago
by
John DiSanti
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix Docker build-image `cargo-udeps` build (#1519)
parent
5312ff11
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/Dockerfile
+12
-12
12 additions, 12 deletions
tools/Dockerfile
with
12 additions
and
12 deletions
tools/Dockerfile
+
12
−
12
View file @
46984ab9
...
...
@@ -47,9 +47,9 @@ RUN set -eux; \
FROM
bare_base_image
AS
install_rust
ARG
rust_stable_version=1.58.1
ARG
rust_nightly_version=nightly-2022-03-29
ARG
cargo_udeps_version=0.1.2
7
ARG
cargo_hack_version=0.5.1
2
ARG
cargo_minimal_versions_version=0.1.
3
ARG
cargo_udeps_version=0.1.2
9
ARG
cargo_hack_version=0.5.1
4
ARG
cargo_minimal_versions_version=0.1.
4
ENV
RUSTUP_HOME=/opt/rustup \
CARGO_HOME=/opt/cargo \
PATH=/opt/cargo/bin/:${PATH} \
...
...
@@ -93,21 +93,21 @@ ARG smithy_rs_commit_hash=main
# source code by checking out awslabs/smithy-rs/main rather than copying them from the local directory.
ARG
checkout_smithy_rs_tools=false
RUN
set
-eux
;
\
cargo +
${
rust_nightly_version
}
install
cargo-udeps
--version
${
cargo_udeps_version
}
;
\
cargo
install
cargo-hack
--version
${
cargo_hack_version
}
;
\
cargo +
${
rust_nightly_version
}
install
cargo-udeps
--locked
--version
${
cargo_udeps_version
}
;
\
cargo
install
cargo-hack
--locked
--version
${
cargo_hack_version
}
;
\
cargo
install
cargo-minimal-versions
--version
${
cargo_minimal_versions_version
}
;
\
if
[[
"
${
checkout_smithy_rs_tools
}
"
==
"true"
]]
;
then
\
git clone https://github.com/awslabs/smithy-rs.git
;
\
cd
smithy-rs
;
\
git checkout
${
smithy_rs_commit_hash
}
;
\
fi
;
\
cargo
install
--path
tools/publisher
;
\
cargo +
${
rust_nightly_version
}
install
--path
tools/api-linter
;
\
cargo
install
--path
tools/changelogger
;
\
cargo
install
--path
tools/crate-hasher
;
\
cargo
install
--path
tools/sdk-lints
;
\
cargo
install
--path
tools/sdk-sync
;
\
cargo
install
--path
tools/sdk-versioner
;
\
cargo
install
--locked
--path
tools/publisher
;
\
cargo +
${
rust_nightly_version
}
install
--locked
--path
tools/api-linter
;
\
cargo
install
--locked
--path
tools/changelogger
;
\
cargo
install
--locked
--path
tools/crate-hasher
;
\
cargo
install
--locked
--path
tools/sdk-lints
;
\
cargo
install
--locked
--path
tools/sdk-sync
;
\
cargo
install
--locked
--path
tools/sdk-versioner
;
\
chmod
g+rw
-R
/opt/cargo/registry
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment