Dockerfile for slogsdon/rust image: https://registry.hub.docker.com/u/slogsdon/rust
10K+
Dockerfile for slogsdon/rust image: https://registry.hub.docker.com/u/slogsdon/rust
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 .
Content type
Image
Digest
sha256:d42ea93e7…
Size
212 MB
Last updated
almost 11 years ago
docker pull slogsdon/rust