mirror of https://github.com/docker/docs.git
20 lines
584 B
Plaintext
20 lines
584 B
Plaintext
// dot -Tsvg ./cache-stack.dot > ./cache-stack.svg
|
|
digraph {
|
|
rankdir="LR";
|
|
nodesep=0.3;
|
|
edge[minlen=0];
|
|
bgcolor="#00000000";
|
|
node [ shape=rect, width=5, height=0.4, fontname=monospace, fontsize=10 ];
|
|
|
|
from [ label = <<B>FROM </B>ubuntu:latest> ];
|
|
deps [ label = <<B>RUN </B>apt-get update && \\<br/>apt-get install -y build-essentials> ];
|
|
copy [ label = <<B>COPY </B>main.c Makefile /src/> ];
|
|
workdir [ label = <<B>WORKDIR </B>/src/> ];
|
|
build [ label = <<B>RUN </B>make build> ];
|
|
|
|
from -> deps;
|
|
deps -> copy;
|
|
copy -> workdir;
|
|
workdir -> build;
|
|
}
|