Commit 3bf53a0
committed
build: Rework image tagging
We should really create proper multi-arch images, ... but we can at
least improve the current system we have of tagging the image with the
host arch.
The problem with the way we do it now is that the two tags (the plain
one and the one with the arch) cause docker rmi to refuse to delete the
image until one if explicitly untagged.
Instead we can only create the tag with the arch name in it temporarily,
when we're pulling/pushing.
To make that work with the allcross image we need to drop --pull, so
that the FROM will use the local image without the arch name.1 parent 7e0d5e1 commit 3bf53a0
1 file changed
Lines changed: 44 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
39 | 52 | | |
40 | | - | |
| 53 | + | |
41 | 54 | | |
42 | 55 | | |
43 | 56 | | |
44 | 57 | | |
45 | 58 | | |
46 | 59 | | |
47 | | - | |
48 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
49 | 78 | | |
50 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
51 | 85 | | |
52 | 86 | | |
53 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
54 | 92 | | |
55 | 93 | | |
56 | 94 | | |
| |||
73 | 111 | | |
74 | 112 | | |
75 | 113 | | |
76 | | - | |
| 114 | + | |
77 | 115 | | |
78 | 116 | | |
79 | 117 | | |
| |||
94 | 132 | | |
95 | 133 | | |
96 | 134 | | |
97 | | - | |
98 | 135 | | |
99 | 136 | | |
100 | 137 | | |
| |||
0 commit comments