Commit fcd9125
committed
Rework the Dockerfile breaking it into a two stage process, build and deployment.
Adjust the way the build dependencies are collected using a `go get github.com/codingo/dorky` to deal with the otherwise missing `go.sum` file.
Use deployment container alpine:3.18
Update golang:1.16 to golang:1.20
Container build size before
> dorky 20230514z155300-dev 260e83175fca 374MB
Container build size after
> dorky 20230514z155514-dev d3b7c5c86bd6 15.3MB1 parent 1965f10 commit fcd9125
1 file changed
+16
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 10 | + | |
| 11 | + | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
19 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
0 commit comments