HUB
Sign inSign up

ewbankkit/rust-amazonlinux

By ewbankkit

•Updated almost 6 years ago

Build with Rust on Amazon Linux.

Image
0

541

ewbankkit/rust-amazonlinux repository overview

⁠Build With Rust On Amazon Linux

This image is based on the official Amazon Linux images⁠ and contains tools to build Rust⁠ code. It can be used as both the build and runtime environment and is ideal for building a custom AWS Lambda runtime⁠.

⁠Compile an app inside the Docker container

To compile, but not run your app inside the Docker instance:

$ docker run --user "$(id -u)":"$(id -g)" --volume $(PWD):/volume --rm --tty $(BUILDER) cargo build --release

This will add your current directory, as a volume, to the container, and run the command cargo build --release. The output of the compilation will be in target/release below the current directory.

Tag summary

Content type

Image

Digest

Size

360.9 MB

Last updated

almost 6 years ago

docker pull ewbankkit/rust-amazonlinux:1.49.0-2.0.20201218.1