-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rust Dockerfile GA Deps, ignore, etc. Closes #4134 * Use explicit manifest path for cargo check. Co-authored-by: ford prior <108086978+ford-at-aws@users.noreply.github.com>
- Loading branch information
1 parent
772ce46
commit 2b96eda
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
target | ||
Cargo.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# syntax=docker/dockerfile:1 | ||
# Status: Beta | ||
# GA updates: https://github.com/awsdocs/aws-doc-sdk-examples/issues/4134 | ||
ARG MSRV=1.58 | ||
ARG MSRV=1.62.1 | ||
FROM rust:$MSRV | ||
COPY . /rust_dev_preview/ | ||
RUN cd /rust_dev_preview && \ | ||
cargo build --ignore-rust-version | ||
WORKDIR /rust_dev_preview | ||
RUN apt-get update && \ | ||
apt-get install libclang-dev -y && \ | ||
cargo check --manifest-path /rust_dev_preview | ||
CMD ["bash"] |