-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtbl01.html
82 lines (82 loc) · 2.93 KB
/
tbl01.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<html>
<style>
.demo {
width:100%;
border:none;
padding:0px;
}
.demo th {
border:none;
padding:0px;
background:#F0F0F0;
}
.demo td {
border:solid;
text-align:left;
padding:0px;
}
pre {
background: #f4f4f4;
border: 1px solid #ddd;
border-left: 3px solid #f36d33;
color: #666;
page-break-inside: avoid;
font-family: monospace;
font-size: 15px;
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1em 1.5em;
display: block;
word-wrap: break-word;
}
</style>
<body>
<table class="demo">
<thead>
<tr>
<th>Dockerfile</th>
<th>Image layers (817 Mb)</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<pre>
FROM golang:1.14.2-buster
WORKDIR /root/
COPY . .
RUN go build -o hello
EXPOSE 8080
CMD [ "./hello" ]
</pre>
</td>
<td>
<pre style="font-size: 12px;">
/d/lt/docker/src$ docker history hello
IMAGE CREATED CREATED BY SIZE
1209db342fda 3 minutes ago /bin/sh -c #(nop) CMD ["./hello"] 0B
884e628a18d2 3 minutes ago /bin/sh -c #(nop) EXPOSE 8080 0B
052928721827 3 minutes ago /bin/sh -c go build -o hello 7.5MB
5be8a6338531 3 minutes ago /bin/sh -c #(nop) COPY dir:db96fc68ae8efca1d… 401B
61394b84b928 3 minutes ago /bin/sh -c #(nop) WORKDIR /root/ 0B
2421885b04da 2 weeks ago /bin/sh -c #(nop) WORKDIR /go 0B
<missing> 2 weeks ago /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/b… 0B
<missing> 2 weeks ago /bin/sh -c #(nop) ENV PATH=/go/bin:/usr/loc… 0B
<missing> 2 weeks ago /bin/sh -c #(nop) ENV GOPATH=/go 0B
<missing> 2 weeks ago /bin/sh -c set -eux; dpkgArch="$(dpkg --pr… 334MB
<missing> 2 weeks ago /bin/sh -c #(nop) ENV GOLANG_VERSION=1.14.2 0B
<missing> 2 weeks ago /bin/sh -c apt-get update && apt-get install… 182MB
<missing> 2 weeks ago /bin/sh -c apt-get update && apt-get install… 146MB
<missing> 2 weeks ago /bin/sh -c set -ex; if ! command -v gpg > /… 17.5MB
<missing> 2 weeks ago /bin/sh -c apt-get update && apt-get install… 16.5MB
<missing> 2 weeks ago /bin/sh -c #(nop) CMD ["bash"] 0B
<missing> 2 weeks ago /bin/sh -c #(nop) ADD file:f086177965196842a… 114MB
</pre>
</td>
</tr>
</tbody>
</table>
</body>
</html>