# use-dockerfile
Primitive Dockerfile instruction line helpers for `RustUse`.
This crate parses and renders single Dockerfile instruction lines. It does not
try to evaluate Dockerfile semantics, handle line continuations, or build images.
## Basic Usage
```rust
use use_dockerfile::{DockerfileInstruction, DockerfileInstructionKind};
let instruction: DockerfileInstruction = "FROM rust:1.95".parse()?;
let run = DockerfileInstruction::run("cargo test");
assert_eq!(instruction.kind(), DockerfileInstructionKind::From);
assert_eq!(run.to_string(), "RUN cargo test");
# Ok::<(), Box<dyn std::error::Error>>(())
```