Skip to content

mingxinwei/rust-docker-onbuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Rust docker onbuild

Make rust docker build simple & fast 🚀

Features

  • Leverage docker cache to make image build as fast as possible.
  • Generate small image.
  • Make it easy to write your project's Dockerfile.

Usage

# First stage build
FROM shuataren/rust-onbuild:1.37.0 AS builder

# Second stage which generates the final small image
FROM alpine:latest
COPY --from=builder /myapp/myapp .
CMD ["./myapp"]

About

Make rust build simple & fast

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published