Sign inSign up

slogsdon/rust

By slogsdon

•Updated almost 11 years ago

Dockerfile for slogsdon/rust image: https://registry.hub.docker.com/u/slogsdon/rust

Image
0

10K+

slogsdon/rust repository overview

⁠slogsdon/rust

Dockerfile for slogsdon/rust image: https://registry.hub.docker.com/u/slogsdon/rust⁠

⁠Usage

Create a Dockerfile in your Rust application directory with the following content:

FROM slogsdon/rust
      
WORKDIR /src/app
ADD . /src/app
RUN rustc main.rs
                      
CMD []
ENTRYPOINT ["/src/app/main"]

Run the following command in your application directory:

docker build -t my/app .

Tag summary

Content type

Image

Digest

sha256:d42ea93e7…

Size

212 MB

Last updated

almost 11 years ago

docker pull slogsdon/rust