mirror of https://github.com/docker/docs.git
20 lines
721 B
Plaintext
20 lines
721 B
Plaintext
// dot -Tsvg ./cache-invalidate-rest.dot > ./cache-invalidate-rest.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/>, color = "red" ];
|
|
workdir [ label = <<B>WORKDIR </B>/src/>, color = "red" ];
|
|
build [ label = <<B>RUN </B>make build>, color = "red" ];
|
|
|
|
from -> deps;
|
|
deps -> copy;
|
|
copy -> workdir [ color = "red", label = " ❌ " ];
|
|
workdir -> build [ color = "red", label = " ❌ " ];
|
|
}
|