You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an AWS customer, I want to be able to rely on the Docker image found in the Rust language repository to contain all the necessary examples for Rust, including pre-compiled dependencies so that I can effectively run example code in a Docker environment.
I know this is done when:
the Dockerfile itself contains correct steps for resolving dependencies and is built successfully
the resulting Docker image is successfully pushed to ECR via the existing DevOps processes
the container that is created from that image runs some subset of example code (e.g. the Lambda MVP) successfully by exec'ing in, adding AWS credentials, and invoking it via terminal session
usage steps explaining which examples can be run and how are documented in the README.md#docker-image section
Adding credentials to your docker container
Never add credentials to a Dockerfile or the resulting image. Instead, add them at runtime using the following command: docker run -it --volume ~/.aws/credentials:/root/.aws/credentials IMAGE_NAME
You can find IMAGE_NAME by running docker images and copying the first 4 digits of the random Id that's created when you run docker build ..
The text was updated successfully, but these errors were encountered:
* 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>
As an AWS customer, I want to be able to rely on the Docker image found in the Rust language repository to contain all the necessary examples for Rust, including pre-compiled dependencies so that I can effectively run example code in a Docker environment.
I know this is done when:
README.md#docker-image
sectionAdding credentials to your docker container
Never add credentials to a Dockerfile or the resulting image. Instead, add them at runtime using the following command:
docker run -it --volume ~/.aws/credentials:/root/.aws/credentials IMAGE_NAME
You can find IMAGE_NAME by running
docker images
and copying the first 4 digits of the random Id that's created when you rundocker build .
.The text was updated successfully, but these errors were encountered: