6
6
{{- $_ := set . "BASE_ALT_DEV" "registry.deckhouse.io/base_images/dev-alt:p10@sha256:76e6e163fa982f03468166203488b569e6d9fc10855d6a259c662706436cdcad" }}
7
7
8
8
---
9
- artifact : {{ $.ImageName }}-golang-artifact
9
+ image : {{ $.ImageName }}-golang-artifact
10
10
from : {{ $.BASE_GOLANG_22_ALPINE }}
11
- fromCacheVersion : " 2024-05-14.1"
11
+ final : false
12
+
12
13
git :
13
14
- add : /images/{{ $.ImageName }}
14
15
to : /
@@ -37,16 +38,18 @@ shell:
37
38
---
38
39
{{ $csiBinaries := "/bin/mount /bin/umount /sbin/mount.nfs /sbin/mount.nfs4 /sbin/umount.nfs /sbin/umount.nfs4 /bin/tar /bin/gzip /bin/cp" }}
39
40
---
40
- artifact : {{ $.ImageName }}-binaries-artifact
41
+ image : {{ $.ImageName }}-binaries-artifact
41
42
from : {{ $.BASE_ALT_DEV }}
43
+ final : false
42
44
43
45
shell :
44
46
install :
45
47
- /binary_replace.sh -i "{{ $csiBinaries }}" -o /relocate
46
48
47
49
---
48
- artifact : {{ $.ImageName }}-distroless-artifact
50
+ image : {{ $.ImageName }}-distroless-artifact
49
51
from : {{ $.BASE_ALPINE_DEV }}
52
+ final : false
50
53
51
54
shell :
52
55
install :
@@ -62,31 +65,32 @@ shell:
62
65
- echo "deckhouse:!::0:::::" >> /relocate/etc/shadow
63
66
64
67
---
65
- artifact : {{ $.ImageName }}-distroless
68
+ image : {{ $.ImageName }}-distroless
66
69
from : {{ $.BASE_SCRATCH }}
70
+ final : false
67
71
68
72
import :
69
- - artifact : {{ $.ImageName }}-distroless-artifact
73
+ - image : {{ $.ImageName }}-distroless-artifact
70
74
add : /relocate
71
75
to : /
72
76
before : setup
73
77
74
78
---
75
79
image : {{ $.ImageName }}
76
- fromArtifact : {{ $.ImageName }}-distroless
80
+ fromImage : {{ $.ImageName }}-distroless
77
81
78
82
import :
79
- - artifact : {{ $.ImageName }}-golang-artifact
83
+ - image : {{ $.ImageName }}-golang-artifact
80
84
add : /nfsplugin
81
85
to : /nfsplugin
82
86
before : setup
83
- - artifact : {{ $.ImageName }}-binaries-artifact
87
+ - image : {{ $.ImageName }}-binaries-artifact
84
88
add : /relocate
85
89
to : /
86
90
before : install
87
91
includePaths :
88
92
- ' **/*'
89
- - artifact : {{ $.ImageName }}-binaries-artifact
93
+ - image : {{ $.ImageName }}-binaries-artifact
90
94
add : /lib64
91
95
to : /lib64
92
96
before : install
0 commit comments